Win32 fiber stubs.

svn path=/trunk/; revision=1300
This commit is contained in:
Emanuele Aliberti 2000-08-14 14:34:12 +00:00
parent 47dfd4feaa
commit f2e0104287
2 changed files with 135 additions and 0 deletions

View file

@ -7502,6 +7502,48 @@ HRESULT WINAPI
SHLoadInProc (REFCLSID);
*/
/* Win32 Fibers */
typedef
VOID (WINAPI *PFIBER_START_ROUTINE) (
IN LPVOID lpFiberArgument
);
typedef PFIBER_START_ROUTINE LPFIBER_START_ROUTINE;
LPVOID
STDCALL
ConvertThreadToFiber (
LPVOID lpArgument
);
LPVOID
STDCALL
CreateFiber (
DWORD dwStackSize,
LPFIBER_START_ROUTINE lpStartAddress,
LPVOID lpArgument
);
VOID
STDCALL
DeleteFiber(
LPVOID lpFiber
);
PVOID
STDCALL
GetCurrentFiber (
VOID
);
PVOID
STDCALL
GetFiberData (
VOID
);
VOID
STDCALL
SwitchToFiber (
LPVOID lpFiber
);
#ifdef __cplusplus
}
#endif /* __cplusplus */

View file

@ -0,0 +1,93 @@
/* $Id: fiber.c,v 1.1 2000/08/14 14:34:12 ea Exp $
*
* FILE: lib/kernel32/thread/fiber.c
*
* ReactOS Kernel32.dll
*
*/
#include <windows.h>
/**********************************************************************
* ConvertThreadToFiber
*/
LPVOID
STDCALL
ConvertThreadToFiber(
LPVOID lpArgument
)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return NULL;
}
/**********************************************************************
* CreateFiber
*/
LPVOID
STDCALL
CreateFiber(
DWORD dwStackSize,
LPFIBER_START_ROUTINE lpStartAddress,
LPVOID lpArgument
)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return NULL;
}
/**********************************************************************
* DeleteFiber
*/
VOID
STDCALL
DeleteFiber(
LPVOID lpFiber
)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return;
}
/**********************************************************************
* GetCurrentFiber
*/
PVOID
STDCALL
GetCurrentFiber(VOID)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return NULL;
}
/**********************************************************************
* GetFiberData
*/
PVOID
STDCALL
GetFiberData(VOID)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return NULL;
}
/**********************************************************************
* SwitchToFiber
*/
VOID
STDCALL
SwitchToFiber(
LPVOID lpFiber
)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return;
}
/* EOF */