Partager via


GetDeviceInformationByFileHandle (Compact 2013)

3/26/2014

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

See Also

Reference

Device Manager Functions
DEVMGR_DEVICE_INFORMATION

Other Resources

CreateFile