Instance Property

create

Creates the current queue.

Declaration

IOReturn (*create)(void *self, uint32_t flags, uint32_t depth);

Parameters

flags

Pass kIOHIDQueueOptionsTypeEnqueueAll option to force the IOHIDQueue to enqueue all events, relative or absolute, regardless of change.

depth

The maximum number of elements in the queue before the oldest elements in the queue begin to be lost.

Return Value

Returns an IOReturn code.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software