CM_Get_DevNode_Registry_Property

CM_Get_DevNode_Registry_Propertyで、指定のDEVINSTのデバイスのプロパティをレジストリから取得する。

CM_Get_DevNode_Registry_PropertyW関数 (cfgmgr32.h) - Win32 apps | Microsoft Learn

C_G_D_R_P.cppで、

と書く。
今回は、CM_DRP_CLASSを指定し、クラス名を取得。

クラス名はDiskDrive
クラス名はDiskDrive

クラス名はDiskDrive。

Sample/winapi/CM_Get_DevNode_Registry_Property/C_G_D_R_P/src/C_G_D_R_P at master · bg1bgst333/Sample · GitHub