DXGKDDI_GETROOTPAGETABLESIZE - NtDoc

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

DXGKDDI_GETROOTPAGETABLESIZE DxgkddiGetrootpagetablesize;

SIZE_T DxgkddiGetrootpagetablesize(
  IN_CONST_HANDLE hAdapter,
  INOUT_PDXGKARG_GETROOTPAGETABLESIZE pArgs
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dkmddi-dxgkddi_getrootpagetablesize)

DXGKDDI_GETROOTPAGETABLESIZE callback function

Description

DxgkDdiGetRootPageTableSize returns the minimum root page table size, in bytes, that is needed to hold the given number of page table entries. The actual number of entries in the page table could be greater than the given value.

DxgkDdiGetRootPageTableSize is called only when DXGK_GPUMMUCAPS::PageTableLevelCount is two.

Parameters

hAdapter

A handle to the display adapter.

pArgs

The DXGKARG_GETROOTPAGETABLESIZE structure that describes the operation.

Return value

The page table size in bytes. The size must be a multiple of the page size of the GPU memory segment where page table is located.