#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
// begin_private
/**
* Selects worker-factory configuration and status operations.
* NtQueryInformationWorkerFactory accepts only
* WorkerFactoryBasicInformation (7); individual configuration selectors are not query classes.
* NtSetInformationWorkerFactory requires WORKER_FACTORY_SET_INFORMATION;
* the basic query requires WORKER_FACTORY_QUERY_INFORMATION.
*/
typedef enum _WORKERFACTORYINFOCLASS
{
WorkerFactoryTimeout, // Historical; may be rejected with STATUS_INVALID_INFO_CLASS
WorkerFactoryRetryTimeout, // Historical; may be rejected with STATUS_INVALID_INFO_CLASS
WorkerFactoryIdleTimeout, // s: LARGE_INTEGER
WorkerFactoryBindingCount, // s: LONG (signed adjustment, not an absolute count)
WorkerFactoryThreadMinimum, // s: ULONG
WorkerFactoryThreadMaximum, // s: ULONG
WorkerFactoryPaused, // Historical; setting this class may return STATUS_NOT_IMPLEMENTED
WorkerFactoryBasicInformation, // q: WORKER_FACTORY_BASIC_INFORMATION
WorkerFactoryAdjustThreadGoal, // s: ULONG
WorkerFactoryCallbackType, // s: ULONG
WorkerFactoryStackInformation, // s: ULONG/ULONG_PTR // 10
WorkerFactoryThreadBasePriority, // s: ULONG
WorkerFactoryTimeoutWaiters, // s: ULONG // since THRESHOLD
WorkerFactoryFlags, // s: ULONG
WorkerFactoryThreadSoftMaximum, // s: ULONG
WorkerFactoryThreadCpuSets, // s: ULONG[] // since REDSTONE5
MaxWorkerFactoryInfoClass
} WORKERFACTORYINFOCLASS, *PWORKERFACTORYINFOCLASS;
View code on GitHubNo description available.