Contents

Close

Closes the interface and stops the delivery of input reports.

Declaration

virtual kern_return_t Close(IOService *forClient, IOOptionBits options);

Parameters

  • forClient:

    The client that closed the interface.

  • options:

    Options to use when closing the session. Specify 0 for no options.

Return Value

kIOReturnSuccess on success, or another value if an error occurs. See Error Codes.

See Also

Managing the Session