다음을 통해 공유


GetDeviceInformationByFileHandle (Windows Embedded CE 6.0)

1/6/2010

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

See Also

Reference

Device Manager Functions
DEVMGR_DEVICE_INFORMATION

Other Resources

CreateFile