Platform SDK: DLLs, Processes, and Threads

GetFiberData

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

PVOID GetFiberData(VOID);

Parameters

This macro 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.

Requirements

  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.

See Also

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