Partager via


LPGET_QUEUE_SIZE (Compact 2013)

3/26/2014

This function obtains the size of the HID client's queue.

Syntax

typedef DWORD (*LPGET_QUEUE_SIZE) (
  HID_HANDLE hDevice,
  PDWORD pdwSize
);

Parameters

  • hDevice
    [in] Handle to a HID device.
  • pdwSize
    [out] Queue size.

Return Value

The following table shows the possible return values.

Value

Description

ERROR_INVALID_HANDLE

hDevicewas an invalid HID device handle.

ERROR_INVALID_PARAMETER

pdwSizewas set to NULL or there was an exception writing to pdwSize.

ERROR_SUCCESS

Function returned successfully.

Requirements

Header

hiddi.h

See Also

Reference

HID Driver Functions