createUserClient(task_t, void *, UInt32, IOAudioControlUserClient **, OSDictionary *)
Creates a new IOAudioControlUserClient instance.
Declaration
virtual IOReturn createUserClient(
task_ttask,
void *securityID,
UInt32type,
IOAudioControlUserClient **newUserClient,
OSDictionary *properties);Parameters
- task:
The task requesting the new user client.
- securityID:
Optional security paramater passed in by the client - ignored.
- type:
Optional user client type passed in by the client.
- newUserClient:
The IOAudioControlUserClient * must be stored in this param on a successful completion.
- properties:
A dictionary of additional properties for the connection.
Return Value
Returns kIOReturnSuccess on success.
Overview
This function is called by newUserClient() to create a new IOAudioControlUserClient instance. This function may be overridden by subclasses that need to add functionality to the IOAudioControlUserClient. In that case, they must subclass IOAudioControlUserClient and return a new, initialized instance of that subclass. A derived class that requires overriding of createUserClient should override the version with the properties parameter for Intel targets, and without the properties parameter for PPC targets. The #if __i386__ directive can be used to select between the two behaviors.
See Also
Miscellaneous
addUserClientaddUserClientActionclientClosedcreateUserClient(task_t, void *, UInt32, IOAudioControlUserClient **)detachUserClientsActionflushValuefreegetChannelIDgetCommandGategetControlIDgetIsStartedgetValuegetWorkLoophardwareValueChangedinitnewUserClientperformValueChangeremoveUserClientremoveUserClientActionsendValueChangeNotificationsetChannelIDsetChannelNamesetControlIDsetPropertiessetReadOnlyFlagsetSubType(UInt32)setType(UInt32)setUsagesetValuesetValueActionstartstopupdateValuevalidateValuewithAttributes