D3DKMT_QUERYVIDEOMEMORYINFO structure (d3dkmthk.h)

Used to query for video memory info.

Syntax

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;

Members

[in, hProcess

A handle to the process.

[in] hAdapter

A handle to the graphics adapter.

[in] MemorySegmentGroup

The memory segment group to query.

[out] Budget

The total memory the application may use.

[out] CurrentUsage

The current memory usage of the device.

[out] CurrentReservation

The current reservation of the device.

[out] AvailableForReservation

The total that the device may reserve.

[in] PhysicalAdapterIndex

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

Requirements

Requirement Value
Header d3dkmthk.h