CopyProperties
Returns the registry properties associated with the current service.
Declaration
virtual kern_return_t CopyProperties(OSDictionary **properties);Parameters
- properties:
A variable for storing the properties. On return, the variable contains a dictionary with the properties, or
NULLif the service has no registered properties. If this method returns a valid dictionary, you are responsible for releasing that dictionary when you are finished with it.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.