示例#1
0
文件: SetupAPI.cs 项目: iLuffy/ILuffy
 public static extern bool SetupDiGetDeviceRegistryProperty(
     IntPtr deviceInfoSet,
     ref SP_DEVINFO_DATA deviceInfoData, //ref
     UInt32 property,
     ref UInt32 propertyRegDataType,
     IntPtr propertyBuffer,
     UInt32 propertyBufferSize,
     ref UInt32 requiredSize
 );
示例#2
0
文件: SetupAPI.cs 项目: iLuffy/ILuffy
 public static extern int SetupDiEnumDeviceInfo(
     IntPtr deviceInfoSet, 
     uint memberIndex, 
     ref SP_DEVINFO_DATA deviceInfoData);