D3DKMT_GETPROCESSSCHEDULINGPRIORITYBAND - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTD3DKMT_H

// rev
/**
 * Queries the private process scheduling band (0 or 1 in the examined implementation).
 * These values are not the DXGK_SCHEDULING_PRIORITY_BAND miniport enumeration.
 * Flags must be zero; ProcessHandle requires PROCESS_SET_LIMITED_INFORMATION (0x2000).
 * The caller must pass the graphics resource-manager token-membership check.
 *
 * Set Size to D3DKMT_GETPROCESSSCHEDULINGPRIORITYBAND_SIZE on both x64 and WOW64.
 * The x86 envelope is 16 bytes, but the WOW64 thunk preserves Size and the native handler requires
 * at least 24. The native envelope is 24 bytes; only PriorityBand is an output field.
 */
typedef struct _D3DKMT_GETPROCESSSCHEDULINGPRIORITYBAND
{
    ULONG Size;
    ULONG Flags;
    HANDLE ProcessHandle;
    ULONG PriorityBand;
} D3DKMT_GETPROCESSSCHEDULINGPRIORITYBAND, *PD3DKMT_GETPROCESSSCHEDULINGPRIORITYBAND;

#endif

View code on GitHub

NtDoc

No description available.