implemented IsThreadAFiber()

svn path=/trunk/; revision=17525
This commit is contained in:
Thomas Bluemel 2005-08-24 23:05:07 +00:00
parent 5c7747b97c
commit 8f881e2d04
2 changed files with 12 additions and 0 deletions

View file

@ -586,6 +586,7 @@ IsDebuggerPresent@0
IsProcessInJob@12 IsProcessInJob@12
IsProcessorFeaturePresent@4 IsProcessorFeaturePresent@4
IsSystemResumeAutomatic@0 IsSystemResumeAutomatic@0
IsThreadAFiber@0
IsValidCodePage@4 IsValidCodePage@4
IsValidLanguageGroup@8 IsValidLanguageGroup@8
IsValidLocale@8 IsValidLocale@8

View file

@ -235,6 +235,17 @@ DeleteFiber(LPVOID lpFiber)
MEM_RELEASE); MEM_RELEASE);
} }
/*
* @implemented
*/
BOOL
WINAPI
IsThreadAFiber(VOID)
{
return NtCurrentTeb()->HasFiberData;
}
__declspec(noreturn) __declspec(noreturn)
VOID VOID
WINAPI WINAPI