Collapse the table of content
Expand the table of content
展开 最小化
EN
此内容没有您的语言版本,但有英语版本。

UMS_SCHEDULER_STARTUP_INFO structure

Specifies attributes for a user-mode scheduling (UMS) scheduler thread. The EnterUmsSchedulingMode function uses this structure.

Syntax


typedef struct _UMS_SCHEDULER_STARTUP_INFO {
  ULONG                      UmsVersion;
  PUMS_COMPLETION_LIST       CompletionList;
  PUMS_SCHEDULER_ENTRY_POINT SchedulerProc;
  PVOID                      SchedulerParam;
} UMS_SCHEDULER_STARTUP_INFO, *PUMS_SCHEDULER_STARTUP_INFO;

Members

UmsVersion

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

CompletionList

A pointer to a UMS completion list to associate with the calling thread.

SchedulerProc

A pointer to an application-defined UmsSchedulerProc entry point function. The system calls this function when the calling thread has been converted to UMS and is ready to run UMS worker threads. Subsequently, it calls this function when a UMS worker thread running on the calling thread yields or blocks.

SchedulerParam

An application-defined parameter to pass to the specified UmsSchedulerProc function.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

WinBase.h (include Windows.h)

 

 

社区附加资源

添加
显示:
© 2015 Microsoft