Platform SDK: DLLs, Processes, and Threads |
The GetCurrentFiber macro returns the address of the current fiber.
PVOID GetCurrentFiber(VOID);
This macro 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 macro allows you to retrieve the address at any other time.
Windows NT/2000: Requires Windows NT 3.51 SP3 or later.
Windows 95/98: Requires Windows 98.
Header: Declared in Winnt.h; include Windows.h.
Processes and Threads Overview, Process and Thread Macros, CreateFiber, ConvertThreadToFiber