PxMbxGetName()
Return the name of an object.
- APPLIES TO
-
1.0.0
- SYNOPSIS
-
PxError_t PxMbxGetName (PxMbx_t mbx, PxChar_t *buffer, PxUInt_t bufsize); - ARGUMENTS
|
|
|
|
|
- RETURN VALUES
-
-
PXERR_NOERRORif successful, or a PXROS-HR error code otherwise.
-
- ERROR CODES
-
PXERR_NAME_BUFOVERFLOWThe data area is too short to store the objects name
PXERR_OBJ_ILLOBJmbxis not a valid object idPXERR_PROT_PERMISSIONThe data area is not writable for the calling task
PXERR_GLOBAL_ILLEGAL_COREThe requested object is not on the same core
PXERR_SERVICE_NOT_CONFIGUREDService has not been configured
- DESCRIPTION
-
PxMbxGetNamecopies the name ofmbxinto thebufferbuffer of lengthbufsize. The result is zero-terminated.
- SEE ALSO