Пример #1
0
 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
 public static extern int SetupDiEnumDeviceInfo(
     IntPtr deviceInfoSet, 
     uint memberIndex, 
     ref SP_DEVINFO_DATA deviceInfoData);