Open
Opens a session to the device and begins the delivery of input reports.
Declaration
virtual kern_return_t Open(IOService *forClient, IOOptionBits options, OSAction *action);Parameters
- forClient:
The client that opened the interface.
- options:
Options to use when opening the session. Specify
0for no options. - action:
The
OSActionobject that handles the asynchronous report callback. The action’s callback must conform to the Reportavailable method.
Return Value
kIOReturnSuccess on success, or another value if an error occurs. See Error Codes.