Microsoft Windows CE 3.0  

IOCTL_HID_ENUM_OBJECTS

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This control code returns a list of input sources, such as buttons, on an HID class device.

Parameters

hDevice
Handle to the HID class device.
dwIoControlCode
Specifies this code
lpInBuffer
Pointer to an input buffer containing an ShiddiEnumObjectHeaderstructure followed by one or more SHiddiEnumObjectstructures.
nInBufferSize
Specifies the length of the input buffer.
lpOutBuffer
Pointer to an output buffer containing an SHiddiEnumObjectHeaderstructure followed by one or more SHiddiEnumObjectstructures. Must be equal to lpInBuffer.
nOutBufferSize
Specifies the length of the output buffer; must be the same as nInBufferSize.
lpBytesReturned
Specifies the total number of bytes returned.
lpOverlapped
NULL.

Remarks

The input and output buffer pointers and lengths must be identical. The buffer must contain an SHiddiEnumObjectHeaderstructure followed by enough space for the HID class driver to write all the SHiddiEnumObjectstructures indicated by the header. The objects must be listed in a fixed order: axes first, then POVs for joysticks, then buttons.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later      
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.


 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.