SetupDiGetDeviceRegistryProperty function setupapi
The SetupDiGetDeviceRegistryProperty function retrieves a specified Plug and Play device property.
BOOL SetupDiGetDeviceRegistryPropertyW(
[in] HDEVINFO DeviceInfoSet,
[in] PSP_DEVINFO_DATA DeviceInfoData,
[in] DWORD Property,
[out, optional] PDWORD PropertyRegDataType,
[out, optional] PBYTE PropertyBuffer,
[in] DWORD PropertyBufferSize,
[out, optional] PDWORD RequiredSize
);
Implementation
int SetupDiGetDeviceRegistryProperty(
int DeviceInfoSet,
Pointer<SP_DEVINFO_DATA> DeviceInfoData,
int Property,
Pointer<Uint32> PropertyRegDataType,
Pointer<Uint8> PropertyBuffer,
int PropertyBufferSize,
Pointer<Uint32> RequiredSize) =>
_SetupDiGetDeviceRegistryProperty(DeviceInfoSet, DeviceInfoData, Property,
PropertyRegDataType, PropertyBuffer, PropertyBufferSize, RequiredSize);