Contents

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 NULL if 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 NULL or 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.

See Also

Managing the Registry Properties