Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
IOMMU_DEVICE_QUERY_INFORMATION takes an IOMMU_DMA_DEVICE token and returns the device info.
Syntax
IOMMU_DEVICE_QUERY_INFORMATION IommuDeviceQueryInformation;
NTSTATUS IommuDeviceQueryInformation(
PIOMMU_DMA_DEVICE DmaDevice,
ULONG Size,
PULONG BytesWritten,
PIOMMU_DMA_DEVICE_INFORMATION Buffer
)
{...}
Parameters
DmaDevice
[in] Pointer to the IOMMU_DMA_DEVICE token.
Size
[in] Supplies the size in bytes of the provided buffer.
BytesWritten
[out] Pointer to receive the number of bytes written to the buffer.
Buffer
[out] Pointer to a IOMMU_DMA_DEVICE_INFORMATION structure that receives the device information.
Return value
Returns an NTSTATUS value. Possible values include:
Return code | Description |
---|---|
STATUS_SUCCESS | If the device info was successfully written into the buffer. |
STATUS_BUFFER_TOO_SMALL | If the provided buffer does not meet minimum size requirements. |
Requirements
Requirement | Value |
---|---|
Header | wdm.h |
IRQL | PASSIVE_LEVEL |