Contents

AddControl

Adds a control to the clock device.

Declaration

kern_return_t AddControl(IOUserAudioControl *in_control);

Parameters

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.

See Also

Managing Audio Controls