The GetCurrentFiber function returns the address of the current fiber.
PVOID GetCurrentFiber(VOID)
This function has no parameters.
The return value is the address of the currently running fiber.
The CreateFiber and ConvertThreadToFiber functions return the fiber address when the fiber is created. The GetCurrentFiber function allows you to retrieve the address at any other time.
Windows NT: Requires version 3.51 SP3 or later.
Windows: Requires Windows 98 or later.
Windows CE: Unsupported.
Header: Declared in winnt.h.
Import Library: Use kernel32.lib.
Processes and Threads Overview, Process and Thread Functions, CreateFiber, ConvertThreadToFiber