DEVPKEY_Device_DmaRemappingPolicy

The value of the DEVPKEY_Device_DmaRemappingPolicy device property indicates the DMA remapping capability of the device.

Property key: DEVPKEY_Device_DmaRemappingPolicy
Property-data-type identifier: DEVPROP_TYPE_INT32
Property access: Read-only access by applications and services.
Localized?: No

Remarks

Value Meaning
2 Drivers on this device are capable of using DMA remapping.
1 At least one driver on this device opted out of DMA remapping.
0 or the DMA Remapping Policy property is not visible A DMA remapping INF directive is not specified in the INF file. DMA remapping is not enforced for this device.

You can access the DEVPKEY_Device_DmaRemappingPolicy property by calling SetupDiGetDeviceProperty and SetupDiSetDeviceProperty.

Requirements

Version: Available in Windows 10, version 1803 (Redstone 4)
Header: Devpkey.h (include Devpkey.h)

See also

Enabling DMA remapping for device drivers

Kernel DMA Protection

SetupDiGetDeviceProperty

SetupDiSetDeviceProperty