Share via


OALIoCtlHalGetDeviceId (Windows Embedded CE 6.0)

1/5/2010

This function implements the IOCTL_HAL_GET_DEVICEID handler. OALIoCtlHalGetDeviceId fills in a DEVICE_ID structure.

Syntax

BOOL OALIoCtlHalGetDeviceId(
  UINT32 dwIoControlCode,
  VOID* lpInBuf,
  UINT32 nInBufSize,
  VOID* lpOutBuf,
  UINT32 nOutBufSize,
  UINT32* lpBytesReturned
);

Parameters

  • dwIoControlCode
    [in] Set to IOCTL_HAL_GET_DEVICEID to retrieve the DEVICE_ID structure.
  • lpInBuf
    [in] Unused. Must be set to NULL.
  • nInBufSize
    [in] Unused. Must be set to 0.
  • lpOutBuf
    [in] Set to the address of an allocated DEVICE_ID structure.
  • nOutBufSize
    [in] Set to the size of the DEVICE_ID structure.
  • lpBytesReturned
    [in] Address of a DWORD that receives the size, in bytes, of the data structure that contains the device identification information.

    This parameter is optional. If you do not need this value, set this parameter to NULL.

Return Value

TRUE indicates success.

FALSE indicates failure.

Requirements

Header oal_ioctl.h
Library Developer Implemented
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IOCTL Functions