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.