HidD_FlushQueue (hid)
Last changed: -217.132.111.188

.
Summary
Removes any Input reports waiting in the buffer.

C# Signature:

[DllImport("hid.dll", SetLastError=true)]
static extern Boolean HidD_FlushQueue(SafeFileHandle HidDeviceObject);

VB Signature:

Declare Function HidD_FlushQueue Lib "hid.dll" (SafeFileHandle HidDeviceObject) As Boolean

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

Return Value - returns TRUE if it successfully flushes the queue. Otherwise, it returns FALSE.

For C# - Must include "using Microsoft.Win32.SafeHandles;".

For VB - Must include "Imports Microsoft.Win32.SafeHandles".

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation