Share via


GetDeviceInformationByFileHandle

Other versions of this page are also available for the following:

Windows Mobile SupportedWindows Embedded CE Supported

8/28/2008

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

Syntax

BOOL GetDeviceInformationByFileHandle(
  HANDLE hFile,
  PDEVMGR_DEVICE_INFORMATION pdi
);

Parameters

  • hFile
    [in] Handle returned from CreateFile.

Return Value

Returns TRUE if the DEVMGR_DEVICE_INFORMATION is populated successfully.

Requirements

Header winbase.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

DEVMGR_DEVICE_INFORMATION

Other Resources

CreateFile