DXGK_BUILDPAGINGBUFFER_NOTIFYALLOC - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmddi.h

typedef struct _DXGK_BUILDPAGINGBUFFER_NOTIFYALLOC {
  HANDLE                hAllocation;
  HANDLE                hKmdProcessHandle;
  DXGK_NOTIFYALLOCFLAGS Flags;
  UINT64                OffsetInBytes;
  UINT64                SizeInBytes;
  UINT64                GpuVirtualAddressAtOffset;
} DXGK_BUILDPAGINGBUFFER_NOTIFYALLOC;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmddi-dxgk_buildpagingbuffer_notifyalloc)

Description

The DXGK_BUILDPAGINGBUFFER_NOTIFYALLOC structure is used to notify the kernel-mode driver (KMD) of an allocation that is about to be used in a DXGK_OPERATION_NOTIFY_ALLOC paging operation.

Members

hAllocation

The driver allocation handle returned from DxgkDdiCreateAllocation.

hKmdProcessHandle

The driver process object handle returned from DxgkDdiCreateProcess. This handle is zero when the Eviction flag is set.

Flags

A DXGK_NOTIFYALLOCFLAGS structure specifying the flags related to the operation.

OffsetInBytes

Offset from the start of the allocation, in bytes. This value is used when an operation is performed on part of an allocation.

SizeInBytes

Size of the operation, in bytes.

GpuVirtualAddressAtOffset

The GPU virtual address corresponding to the allocation offset. When the Eviction flag is set, the GPU VA address is in the paging process context. When the IoMmuUnmap flag is set, the GPU VA address is in the context of the process defined by hKmdProcessHandle.

Remarks

For more information, see Allocation Notification.

See also

DXGK_ALLOCATIONINFOFLAGS2

DXGK_BUILDPAGINGBUFFER_OPERATION

DXGK_NOTIFYALLOCFLAGS

DXGKARG_BUILDPAGINGBUFFER

DxgkDdiBuildPagingBuffer