PxMcGetName()
Return the name of an mc object.
- APPLIES TO
- 
8.2.0 
- SYNOPSIS
- 
PxError_t PxMcGetName (PxMc_t mc, 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_ILLOBJmcis 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
- 
PxMcGetNamecopies the name ofmcinto thebufferbuffer of lengthbufsize. The result is zero-terminated.
- SEE ALSO