Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetCurrentFiber
Collapse the table of content
Expand the table of content

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft