DXGK_BUILDPAGINGBUFFER_FILLVIRTUAL structure (d3dkmddi.h)

DXGK_BUILDPAGINGBUFFER_FILLVIRTUAL is used as part of an operation to fill an allocation with a pattern.

Syntax

typedef struct _DXGK_BUILDPAGINGBUFFER_FILLVIRTUAL {
  HANDLE                 hAllocation;
  UINT64                 AllocationOffsetInBytes;
  UINT64                 FillSizeInBytes;
  UINT                   FillPattern;
  D3DGPU_VIRTUAL_ADDRESS DestinationVirtualAddress;
} DXGK_BUILDPAGINGBUFFER_FILLVIRTUAL;

Members

hAllocation

The kernel mode driver handle of the allocation being filled. The handle is returned from DxgkDdiCreateAllocation. The allocation properties are needed in order to detect if the allocation is swizzled.

AllocationOffsetInBytes

The offset, in bytes, from the start of the allocation being filled.

FillSizeInBytes

The number of bytes to fill.

FillPattern

The byte pattern to fill with.

DestinationVirtualAddress

The virtual address of the destination in the context of the paging process.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header d3dkmddi.h (include D3dkmddi.h)

See also

DXGKARG_BUILDPAGINGBUFFER

DxgkDdiCreateAllocation