Ejemplo 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);
Ejemplo 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);