Editar

Compartir a través de


DXGK_BUILDPAGINGBUFFER_NOTIFYALLOC structure (d3dkmddi.h)

Important

Some information relates to a prerelease product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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.

Syntax

typedef struct _DXGK_BUILDPAGINGBUFFER_NOTIFYALLOC {
  HANDLE                hAllocation;
  HANDLE                hKmdProcessHandle;
  DXGK_NOTIFYALLOCFLAGS Flags;
  UINT64                OffsetInBytes;
  UINT64                SizeInBytes;
  UINT64                GpuVirtualAddressAtOffset;
} DXGK_BUILDPAGINGBUFFER_NOTIFYALLOC;

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.

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2 (WDDM 3.2)
Header d3dkmddi.h

See also

DXGK_ALLOCATIONINFOFLAGS2

DXGK_BUILDPAGINGBUFFER_OPERATION

DXGK_NOTIFYALLOCFLAGS

DXGKARG_BUILDPAGINGBUFFER

DxgkDdiBuildPagingBuffer