D3DKMT_QUERYVIDEOMEMORYINFO - NtDoc

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

typedef struct _D3DKMT_QUERYVIDEOMEMORYINFO {
  [in, opt] HANDLE                      hProcess;
  [in]      D3DKMT_HANDLE               hAdapter;
  [in]      D3DKMT_MEMORY_SEGMENT_GROUP MemorySegmentGroup;
  [out]     D3DKMT_ALIGN64 UINT64       Budget;
  [out]     D3DKMT_ALIGN64 UINT64       CurrentUsage;
  [out]     D3DKMT_ALIGN64 UINT64       CurrentReservation;
  [out]     D3DKMT_ALIGN64 UINT64       AvailableForReservation;
  [in]      UINT                        PhysicalAdapterIndex;
} D3DKMT_QUERYVIDEOMEMORYINFO;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmthk-_d3dkmt_queryvideomemoryinfo)

_D3DKMT_QUERYVIDEOMEMORYINFO structure

Description

Used to query for video memory info.

Members

hProcess [in, opt]

A handle to the process.

hAdapter [in]

A handle to the graphics adapter.

MemorySegmentGroup [in]

The memory segment group to query.

Budget [out]

The total memory the application may use.

CurrentUsage [out]

The current memory usage of the device.

CurrentReservation [out]

The current reservation of the device.

AvailableForReservation [out]

The total that the device may reserve.

PhysicalAdapterIndex [in]

The physical adapter index in the LDA (linked display adapter) chain.

Remarks

See also