GetRegistryEntryID
Returns the registry ID for the current service.
Declaration
virtual kern_return_t GetRegistryEntryID(uint64_t *registryEntryID);Parameters
- registryEntryID:
A pointer to an integer that, on return, contains the registry ID for the service. It is a programmer error to specify
NULLor an invalid pointer for this parameter.
Return Value
kIOReturnSuccess on success, or another value if an error occurs. For a list of error codes, see Error Codes.