[in] Set to IOCTL_HAL_GET_DEVICEID to retrieve the DEVICE_ID structure.
[in] Can be defined by OEMs for their specific purposes.
[in] Set to the size of the OEM lpInBuf data.
[in] Set to the address of an allocated DEVICE_ID structure.
[in] Set to the size of the DEVICE_ID structure.
[in] Address of a DWORD that receives the size in bytes of the data returned.
If the system has provided support for IOCTL_HAL_GET_DEVICEID, returns TRUE for success. If support is not provided for IOCTL_HAL_GET_DEVICEID or the request fails, returns FALSE.
If FALSE is returned, call GetLastError for information. An ERROR_INSUFFICIENT_BUFFER error indicates that the allocated buffer is too small to store the information. In this case, the content of dwSize of the DEVICE_ID structure is set to the required buffer size. Reallocate the buffer and request the information again. To request the identifier buffer sizes required for the DEVICE_ID structure, set the dwSize member of the DEVICE_ID structure to zero.
OS Versions: Windows CE 2.10 and later.
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.