SetName
Sets the name of the service in the system’s registry.
Declaration
virtual kern_return_t SetName(const IOServiceName name);Parameters
- name:
The new name for the service. This method copies the string you provide.
Return Value
kIOReturnSuccess on success, or another value if an error occurs. For a list of error codes, see Error Codes.