SetupDiGetDeviceRegistryProperty の プロパティの例
SetupDiGetDeviceRegistryProperty 関数のパラメータが良く分からなかったので実際に取得して値を見てみたよ・ω・
SetupDiGetDeviceRegistryPropertyA function (setupapi.h) - Win32 apps | Microsoft Docs
SPDRP_ADDRESS
DWORD 6
SPDRP_BUSNUMBER
DWORD 0
SPDRP_BUSTYPEGUID
BYTE[16] {36FC9E60-C465-11CF-8056-444553540000}
SPDRP_CAPABILITIES
DWORD 0x94
SPDRP_CHARACTERISTICS
-
SPDRP_CLASS
char[] "USB"
SPDRP_CLASSGUID
char[] "{36FC9E60-C465-11CF-8056-444553540000}"
SPDRP_COMPATIBLEIDS
char[] "USB\\Class_08&SubClass_06&Prot_50"
SPDRP_CONFIGFLAGS
DWORD 0
SPDRP_DEVICE_POWER_DATA
DWORD[14]
SPDRP_DEVICEDESC
char[] "USB 大容量記憶装置"
SPDRP_DEVTYPE
-
SPDRP_DRIVER
char[] "{36fc9e60-c465-11cf-8056-444553540000}\\0079"
SPDRP_ENUMERATOR_NAME
char[] "USB"
SPDRP_EXCLUSIVE
-
SPDRP_FRIENDLYNAME
-
SPDRP_HARDWAREID
char[] "USB\\VID_8086&PID_0113&REV_0120"
SPDRP_INSTALL_STATE
DWORD 0
SPDRP_LEGACYBUSTYPE
DWORD 0x0f
SPDRP_LOCATION_INFORMATION
char[] "Port_#0006.Hub_#0001"
SPDRP_LOCATION_PATHS
char[] "PCIROOT(0)#PCI(1400)#USBROOT(0)#USB(4)"
SPDRP_LOWERFILTERS
-
SPDRP_MFG
char[] "互換性のある USB 記憶装置"
SPDRP_PHYSICAL_DEVICE_OBJECT_NAME
char[] "\\Device\\USBMEMORY"
SPDRP_REMOVAL_POLICY
DWORD 3
SPDRP_REMOVAL_POLICY_HW_DEFAULT
DWORD 3
SPDRP_REMOVAL_POLICY_OVERRIDE
-
SPDRP_SECURITY
-
SPDRP_SECURITY_SDS
-
SPDRP_SERVICE
"USBSTOR"
SPDRP_UI_NUMBER
-
SPDRP_UI_NUMBER_DESC_FORMAT
-
SPDRP_UPPERFILTERS
-
|
Comments