struttura D3DKMT_QUERYVIDEOMEMORYINFO (d3dkmthk.h)
Consente di eseguire query per ottenere informazioni sulla memoria video.
Sintassi
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;
Membri
[in, hProcess
Handle per il processo.
[in] hAdapter
Handle per la scheda grafica.
[in] MemorySegmentGroup
Gruppo di segmenti di memoria su cui eseguire una query.
[out] Budget
Memoria totale che può essere usata dall'applicazione.
[out] CurrentUsage
Utilizzo corrente della memoria del dispositivo.
[out] CurrentReservation
Prenotazione corrente del dispositivo.
[out] AvailableForReservation
Totale che il dispositivo può riservare.
[in] PhysicalAdapterIndex
Indice dell'adattatore fisico nella catena LDA (adattatore display collegato).
Fabbisogno
Requisito | Valore |
---|---|
intestazione |
d3dkmthk.h |