Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GetCurrentFiber macro

Retrieves the address of the current fiber.

Syntax


PVOID GetCurrentFiber(void);

Parameters

This macro has no parameters.

Return value

The macro returns 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

Minimum supported client

Windows XP [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2003 [desktop apps | Windows Store apps]

Header

WinNT.h (include Windows.h)

See also

CreateFiber
ConvertThreadToFiber
Fibers

 

 

Show:
© 2016 Microsoft