GetCurrentFiber

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function returns the address of the current fiber.

Syntax

LPVOID GetCurrentFiber(void);

Parameters

None.

Return Value

The address of the currently running fiber.

Remarks

The CreateFiber and ConvertThreadToFiber functions return the fiber address when the fiber is created.

The GetCurrentFiber macro allows you to retrieve the address at any other time.

Requirements

Header winbase.h
Library coredll.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Fiber Functions
ConvertThreadToFiber
CreateFiber