Aplicaciones de escritorio de Windows
Collapse the table of content
Expand the table of content
EN
Este contenido no se encuentra disponible en su idioma, pero aquí tiene la versión en inglés.

GetCurrentUmsThread function

Returns the user-mode scheduling (UMS) thread context of the calling UMS thread.

Syntax


PUMS_CONTEXT WINAPI GetCurrentUmsThread(void);

Parameters

This function has no parameters.

Return value

The function returns a pointer to the UMS thread context of the calling thread.

If calling thread is not a UMS thread, the function returns NULL. To get extended error information, call GetLastError.

Remarks

The GetCurrentUmsThread function can be called for a UMS scheduler thread or UMS worker thread.

Requirements

Minimum supported client

Windows 7 (64-bit only) [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

WinBase.h (include Windows.h)

Library

Kernel32.lib

DLL

Kernel32.dll

 

 

Mostrar:
© 2016 Microsoft