SetEnableWithCompletion
Enables or disables the timer.
Declaration
virtual kern_return_t SetEnableWithCompletion(bool enable, IODispatchSourceCancelHandler handler);Parameters
Return Value
kIOReturnSuccess on success, or another value if an error occurs. See Error Codes.