D3DKMT_QUERYVIDEOMEMORYINFO structure

Used to query for video memory info.

Syntax

typedef struct _D3DKMT_QUERYVIDEOMEMORYINFO {
  HANDLE                      hProcess;
  D3DKMT_HANDLE               hAdapter;
  D3DKMT_MEMORY_SEGMENT_GROUP MemorySegmentGroup;
  UINT64                      Budget;
  UINT64                      CurrentUsage;
  UINT64                      CurrentReservation;
  UINT64                      AvailableForReservation;
  UINT                        PhysicalAdapterIndex;
} D3DKMT_QUERYVIDEOMEMORYINFO;

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.

Requirements

   
Header d3dkmthk.h