#ifndef _NTPFAPI_H
/**
* The PF_GPU_UTILIZATION_INFO structure queries GPU time for a session.
* \remarks The x64 handler accepts at least 16 bytes with 8-byte alignment and Version 1.
* Successful queries report ReturnLength = 16. A short buffer returns STATUS_INVALID_BUFFER_SIZE and
* an incorrect version returns STATUS_REVISION_MISMATCH. Version and SessionId must be initialized on input.
*/
typedef struct _PF_GPU_UTILIZATION_INFO
{
ULONG Version; // Request version: PF_GPU_UTILIZATION_INFO_VERSION (1).
ULONG SessionId; // 0xffffffff selects the current process session.
ULONGLONG GpuTime; // Output GPU-time value returned by the selected session callout.
} PF_GPU_UTILIZATION_INFO, *PPF_GPU_UTILIZATION_INFO;
View code on GitHubNo description available.