Contents

RemoveControl

Removes a control from the clock device.

Declaration

kern_return_t RemoveControl(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 removing the control succeeds, the control’s reference count decrements by one.

See Also

Managing Audio Controls