AddControl
Adds a control to the clock device.
Declaration
kern_return_t AddControl(IOUserAudioControl *in_control);Parameters
- in_control:
The Iouseraudiocontrol to add to the clock device.
Return Value
kIOReturnSuccess on success, or another value if an error occurs. For a list of error codes, see Error Codes.
Discussion
If adding the control succeeds, the control’s reference count increments by one.