GetNextUmsListItem function

Returns the next user-mode scheduling (UMS) thread context in a list of thread contexts.

Syntax

PUMS_CONTEXT GetNextUmsListItem(
  PUMS_CONTEXT UmsContext
);

Parameters

UmsContext

A pointer to a UMS context in a list of thread contexts. This list is retrieved by the DequeueUmsCompletionListItems function.

Return Value

If the function succeeds, it returns a pointer to the next thread context in the list.

If there is no thread context after the context specified by the UmsContext parameter, the function returns NULL. To get extended error information, call GetLastError.

Requirements

   
Minimum supported client Windows 7 (64-bit only) [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header winbase.h (include Windows.h)
Library Kernel32.lib
DLL Kernel32.dll

See Also

DequeueUmsCompletionListItems