UserSetTargetProperties
Sets properties on the target.
Declaration
virtual kern_return_t UserSetTargetProperties(SCSIDeviceIdentifier targetID, OSDictionary *properties);Parameters
- targetID:
The ID of the target with the properties you want to set.
- properties:
A dictionary containing key-value pairs of properties to set.
Return Value
A value that indicates the result of setting the target’s properties. kIOReturnSuccess indicates success. For error definitions, see IOKit Constants.
Discussion
Your driver extension calls this method to set the specified target’s properties. The properties directory can contain the following keys:
The value of each property should be a pointer to a valid OSString object that represents the value for the property. The value must be of the proper type and size for the specified key.