// 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 referenceNo description available.
Used to query for video memory info.
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.