#ifndef _NTD3DKMT_H
// rev
/**
* The D3DKMT_ENUM_PROCESS_LIST structure is used for retrieving a list of process identifiers using a graphics adapter.
* The structure is 24 bytes on x64 and 16 bytes on x86. ProcessIdCount is pointer-sized,
* but each output process identifier is always a 4-byte ULONG.
*/
typedef struct _D3DKMT_ENUM_PROCESS_LIST
{
LUID AdapterLuid; // [in] The locally unique identifier (LUID) for the graphics adapter.
PULONG ProcessIdBuffer; // [in] Caller-supplied pointer to the output ULONG array; NULL queries count.
SIZE_T ProcessIdCount; // [in, out] Capacity in ULONG elements; required count on STATUS_BUFFER_TOO_SMALL, returned count on success.
} D3DKMT_ENUM_PROCESS_LIST, *PD3DKMT_ENUM_PROCESS_LIST;
View code on GitHubNo description available.