SYSTEM_THREAD_CID_PRIORITY_INFORMATION - NtDoc

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

/**
 * The SYSTEM_THREAD_CID_PRIORITY_INFORMATION structure is used with NtSetSystemInformation
 * to set the priority of a thread by its client ID (process ID and thread ID) without
 * requiring a thread handle.
 *
 * \remarks This structure is used with the SystemThreadPriorityClientIdInformation
 * information class (0x52). The caller must have SeIncreaseBasePriorityPrivilege
 * to raise a thread's priority above normal.
 */
typedef struct _SYSTEM_THREAD_CID_PRIORITY_INFORMATION
{
    CLIENT_ID ClientId; // The process and thread identifiers of the target thread.
    KPRIORITY Priority; // The new priority value to assign to the thread.
} SYSTEM_THREAD_CID_PRIORITY_INFORMATION, *PSYSTEM_THREAD_CID_PRIORITY_INFORMATION;

#endif

View code on GitHub

NtDoc

No description available.