// d3dkmddi.h
typedef struct _DXGK_BUILDPAGINGBUFFER_TRANSFERVIRTUAL {
HANDLE hAllocation;
UINT64 AllocationOffsetInBytes;
UINT64 TransferSizeInBytes;
D3DGPU_VIRTUAL_ADDRESS SourceVirtualAddress;
D3DGPU_VIRTUAL_ADDRESS DestinationVirtualAddress;
D3DGPU_VIRTUAL_ADDRESS SourcePageTable;
DXGK_MEMORY_TRANSFER_DIRECTION TransferDirection;
DXGK_TRANSFERVIRTUALFLAGS Flags;
D3DGPU_VIRTUAL_ADDRESS DestinationPageTable;
} DXGK_BUILDPAGINGBUFFER_TRANSFERVIRTUAL;
View the official Windows Driver Kit DDI referenceNo description available.
DXGK_BUILDPAGINGBUFFER_TRANSFERVIRTUAL is used as part of an allocation transfer operation.
hAllocationKernel mode driver handle of the transferred allocation content. The handle is returned from DxgkDdiCreateAllocation. The allocation properties are needed to perform special transfers (as swizzle, de-swizzle, etc.).
AllocationOffsetInBytesThe offset in bytes from the start of the allocation being transferred. The offset should not be added to SourceVirtualAddress or DesinationVirtualAddress.
TransferSizeInBytesThe number of bytes to transfer.
SourceVirtualAddressThe virtual address of the source in the context of the paging process.
DestinationVirtualAddressThe virtual address of the destination in the context of the paging process.
SourcePageTableThe GPU virtual address of the page table that is used to map the SourceVirtualAddress address.
Note The address is valid only when the DXGK_GPUMMUCAPS.LegacyBehaviors.SourcePageTableVaInTransfer cap is set.
TransferDirectionThe DXGK_MEMORY_TRANSFER_DIRECTION structure describing the operation.
FlagsThe DXGK_TRANSFERVIRTUALFLAGS structure describing the operation.
DestinationPageTableThe GPU virtual address of the page table that is used to map the DestinationVirtualAddress address. The address is valid only when the DXGK_GPUMMUCAPS.LegacyBehaviors.SourcePageTableVaInTransfer cap is set.
DXGK_MEMORY_TRANSFER_DIRECTION