HidD_FlushQueue - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// hidsdi.h

BOOLEAN HidD_FlushQueue(
  [in] HANDLE HidDeviceObject
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-hidsdi-hidd_flushqueue)

HidD_FlushQueue function

Description

The HidD_FlushQueue routine deletes all pending input reports in a top-level collection's input queue.

Parameters

HidDeviceObject [in]

Specifies an open handle to the top-level collection whose input queue is flushed.

Return value

HidD_FlushQueue returns TRUE if it successfully flushes the queue. Otherwise, it returns FALSE. Use GetLastError to get extended error information.

Remarks

Only user-mode applications can call HidD_FlushQueue. Kernel-mode drivers can use an IOCTL_HID_FLUSH_QUEUE request.

For more information, see HID Collections.

See also

IOCTL_HID_FLUSH_QUEUE