UMS_SYSTEM_THREAD_INFORMATION structure (winbase.h)
Specifies a UMS scheduler thread, UMS worker thread, or non-UMS thread. The GetUmsSystemThreadInformation function uses this structure.
Warning
As of Windows 11, user-mode scheduling is not supported. All calls fail with the error ERROR_NOT_SUPPORTED.
Syntax
typedef struct _UMS_SYSTEM_THREAD_INFORMATION {
ULONG UmsVersion;
union {
struct {
ULONG IsUmsSchedulerThread : 1;
ULONG IsUmsWorkerThread : 1;
} DUMMYSTRUCTNAME;
ULONG ThreadUmsFlags;
} DUMMYUNIONNAME;
} UMS_SYSTEM_THREAD_INFORMATION, *PUMS_SYSTEM_THREAD_INFORMATION;
Members
UmsVersion
The UMS version. This member must be UMS_VERSION.
DUMMYUNIONNAME
DUMMYUNIONNAME.DUMMYSTRUCTNAME
DUMMYUNIONNAME.DUMMYSTRUCTNAME.IsUmsSchedulerThread
A bitfield that specifies a UMS scheduler thread. If IsUmsSchedulerThread is set, IsUmsWorkerThread must be clear.
DUMMYUNIONNAME.DUMMYSTRUCTNAME.IsUmsWorkerThread
A bitfield that specifies a UMS worker thread. If IsUmsWorkerThread is set, IsUmsSchedulerThread must be clear.
DUMMYUNIONNAME.ThreadUmsFlags
Remarks
If both IsUmsSchedulerThread and IsUmsWorkerThread are clear, the structure specifies a non-UMS thread.
Requirements
| Minimum supported client | Windows 7 with SP1 [desktop apps only],Windows 7 (64-bit only) and Windows Server 2008 R2 (64-bit only) with KB977165 installed |
| Minimum supported server | Windows Server 2008 R2 with SP1 [desktop apps only] |
| Header | winbase.h (include Windows.h) |