UMS_CREATE_THREAD_ATTRIBUTES structure (winnt.h)

Specifies attributes for a user-mode scheduling (UMS) worker thread.

This structure is used with the UpdateProcThreadAttribute function.

Syntax

typedef struct _UMS_CREATE_THREAD_ATTRIBUTES {
  DWORD UmsVersion;
  PVOID UmsContext;
  PVOID UmsCompletionList;
} UMS_CREATE_THREAD_ATTRIBUTES, *PUMS_CREATE_THREAD_ATTRIBUTES;

Members

UmsVersion

The UMS version for which the application was built. This parameter must be UMS_VERSION.

UmsContext

A pointer to a UMS thread context for the worker thread to be created. This pointer is provided by the CreateUmsThreadContext function.

UmsCompletionList

A pointer to a UMS completion list. This pointer is provided by the CreateUmsCompletionList function. The newly created worker thread is queued to the specified completion list.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header winnt.h