// 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 referenceNo description available.
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.
hAllocationThe driver allocation handle returned from DxgkDdiCreateAllocation.
hKmdProcessHandleThe driver process object handle returned from DxgkDdiCreateProcess. This handle is zero when the Eviction flag is set.
FlagsA DXGK_NOTIFYALLOCFLAGS structure specifying the flags related to the operation.
OffsetInBytesOffset from the start of the allocation, in bytes. This value is used when an operation is performed on part of an allocation.
SizeInBytesSize of the operation, in bytes.
GpuVirtualAddressAtOffsetThe 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.
For more information, see Allocation Notification.
DXGK_BUILDPAGINGBUFFER_OPERATION