D3DKMT_QUERYVIDEOMEMORYINFO結構(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;
成員
[in, hProcess
進程的句柄。
[in] hAdapter
圖形配接器的句柄。
[in] MemorySegmentGroup
要查詢的記憶體區段群組。
[out] Budget
應用程式可以使用的總記憶體。
[out] CurrentUsage
裝置目前的記憶體使用量。
[out] CurrentReservation
裝置目前的保留。
[out] AvailableForReservation
裝置可能保留的總和。
[in] PhysicalAdapterIndex
LDA (鏈接接器) 鏈結中的實體配接器索引。
要求
要求 | 價值 |
---|---|
標頭 | d3dkmthk.h |