SetCanBeDefaultInputDevice
Sets a Boolean value that indicates if this device can be the host’s default input device.
Declaration
kern_return_t SetCanBeDefaultInputDevice(bool in_can_be_default);Parameters
- in_can_be_default:
trueif the host can use this device as the default input device.
Return Value
kIOReturnSuccess on success, or another value if an error occurs. For a list of error codes, see Error Codes.
Discussion
This method synchronizes by using the work queue created by the object.