PxMbxIdIsValid()

Returns TRUE if Mbx holds a valid Mbx handle.

APPLIES TO

1.0.0

SYNOPSIS
int PxMbxIdIsValid (PxMbx_t Mbx);
ARGUMENTS
Mbx

A Mbx handle

RETURN VALUES
  • TRUE if Mbx is a valid Mbx handle

DESCRIPTION

PxMbxIdIsValid returns TRUE if obj holds a valid Mbx handle.

USAGE
#include "pxdef.h"

int valid = PxMbxIdIsValid(Mbx);

if (!valid) {
    // Handle invalid Mbx handle
}