次の方法で共有


GetCurrentFiber (Compact 2013)

3/28/2014

This function returns the address of the current fiber.

Syntax

LPVOID GetCurrentFiber(void);

Parameters

None.

Return Value

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

Header

winbase.h

Library

coredll.lib

See Also

Reference

Fiber Functions
ConvertThreadToFiber
CreateFiber