SetDataAvailableHandler
Sets the handler block to run when another object adds data to the queue.
Declaration
virtual kern_return_t SetDataAvailableHandler(OSAction *action);Parameters
Return Value
kIOReturnSuccess on success, or another value if an error occurs. See Error Codes.