Compartilhar via


OALIoCtlHalGetDeviceId (Windows CE 5.0)

Send Feedback

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

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 Values

TRUE indicates success.

FALSE indicates failure.

Remarks

Requirements

OS Versions: Windows CE Version 5.0 and later
Header: Oal_ioctl.h
Link Library: Developer-defined

See Also

IOCTL Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.