Esempio n. 1
0
 public static extern unsafe bool SetupDiGetDeviceProperty(
     SafeDeviceInfoSetHandle deviceInfoSet,
     SP_DEVINFO_DATA *deviceInfoData,
     DEVPROPKEY *propertyKey,
     uint *propertyType,
     [Friendly(FriendlyFlags.Array | FriendlyFlags.Out | FriendlyFlags.Optional, ArrayLengthParameter = 5)] byte *propertyBuffer,
     uint propertyBufferSize,
     uint *requiredSize,
     SetupDiGetDevicePropertyFlags flags);
Esempio n. 2
0
 public static extern unsafe bool SetupDiGetDeviceProperty(
     SafeDeviceInfoSetHandle deviceInfoSet,
     SP_DEVINFO_DATA *deviceInfoData,
     DEVPROPKEY *propertyKey,
     uint *propertyType,
     byte *propertyBuffer,
     uint propertyBufferSize,
     uint *requiredSize,
     SetupDiGetDevicePropertyFlags flags);