次の方法で共有


GetDeviceInformationByDeviceHandle (Compact 2013)

3/26/2014

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

Syntax

BOOL GetDeviceInformationByDeviceHandle(
  HANDLE hDevice,
  PDEVMGR_DEVICE_INFORMATION pdi
);

Parameters

  • hDevice
    [in] Handle returned from ActivateDeviceEx.

Return Value

Returns TRUE if the DEVMGR_DEVICE_INFORMATION is populated successfully.

Requirements

Header

winbase.h

See Also

Reference

Device Manager Functions
ActivateDeviceEx
DEVMGR_DEVICE_INFORMATION