IOHIDDeviceCreate
Creates an element from an io_service_t.
Declaration
IOHIDDeviceRef IOHIDDeviceCreate(CFAllocatorRef allocator, io_service_t service);Parameters
- allocator:
Allocator to be used during creation.
- io_service_t:
Reference to service object in the kernel.
Return Value
Returns a new IOHIDDeviceRef.
Discussion
The io_service_t passed in this method must reference an object in the kernel of type IOHIDDevice.
See Also
Miscellaneous
IOHIDDeviceCloseIOHIDDeviceConformsToIOHIDDeviceCopyMatchingElementsIOHIDDeviceCopyValueMultipleIOHIDDeviceCopyValueMultipleWithCallbackIOHIDDeviceGetPropertyIOHIDDeviceGetReportIOHIDDeviceGetReportWithCallbackIOHIDDeviceGetServiceIOHIDDeviceGetTypeIDIOHIDDeviceGetValueIOHIDDeviceGetValueWithCallbackIOHIDDeviceOpenIOHIDDeviceRegisterInputReportCallbackIOHIDDeviceRegisterInputValueCallbackIOHIDDeviceRegisterRemovalCallbackIOHIDDeviceScheduleWithRunLoopIOHIDDeviceSetInputValueMatchingIOHIDDeviceSetInputValueMatchingMultipleIOHIDDeviceSetPropertyIOHIDDeviceSetReportIOHIDDeviceSetReportWithCallbackIOHIDDeviceSetValueIOHIDDeviceSetValueMultipleIOHIDDeviceSetValueMultipleWithCallbackIOHIDDeviceSetValueWithCallbackIOHIDDeviceUnscheduleFromRunLoop