GetFiberData

The GetFiberData function returns the fiber data associated with the current fiber.

PVOID GetFiberData(VOID)
 

Parameters

This function has no parameters.

Return Values

The return value is the fiber data for the currently running fiber.

Remarks

The fiber data is the value passed to the CreateFiber or ConvertThreadToFiber functions in the lpParameter parameter. This value is also received as the parameter to the fiber function. It is stored as part of the fiber state information.

QuickInfo

  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.

See Also

Processes and Threads Overview, Process and Thread Functions, CreateFiber, ConvertThreadToFiber