Share via


GetDeviceInformationByFileHandle (Windows CE 5.0)

Send Feedback

This function retrieves device information using a handle returned from CreateFile.

BOOL GetDeviceInformationByFileHandle(  HANDLE hFile,  PDEVMGR_DEVICE_INFORMATION pdi);

Parameters

  • hFile
    [in] Handle returned from CreateFile.
  • pdi
    [out] Pointer to a DEVMGR_DEVICE_INFORMATION structure to populate with device information.

Return Values

Returns TRUE if the DEVMGR_DEVICE_INFORMATION is populated successfully.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Winbase.h.

See Also

CreateFile | DEVMGR_DEVICE_INFORMATION

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.