mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-22 04:25:08 +00:00
38 lines
907 B
C
38 lines
907 B
C
/**
|
|
* This file is part of the mingw-w64 runtime package.
|
|
* No warranty is given; refer to the file DISCLAIMER within this package.
|
|
*/
|
|
#ifndef _FIBERS_H_
|
|
#define _FIBERS_H_
|
|
|
|
#include <apiset.h>
|
|
#include <apisetcconv.h>
|
|
#include <minwindef.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP)
|
|
#if _WIN32_WINNT >= 0x0600
|
|
#ifndef FLS_OUT_OF_INDEXES
|
|
#define FLS_OUT_OF_INDEXES ((DWORD)0xffffffff)
|
|
#endif
|
|
|
|
WINBASEAPI DWORD WINAPI FlsAlloc (PFLS_CALLBACK_FUNCTION lpCallback);
|
|
WINBASEAPI PVOID WINAPI FlsGetValue (DWORD dwFlsIndex);
|
|
WINBASEAPI WINBOOL WINAPI FlsSetValue (DWORD dwFlsIndex, PVOID lpFlsData);
|
|
WINBASEAPI WINBOOL WINAPI FlsFree (DWORD dwFlsIndex);
|
|
#endif
|
|
#endif
|
|
|
|
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
|
#if _WIN32_WINNT >= 0x0600
|
|
WINBASEAPI WINBOOL WINAPI IsThreadAFiber (VOID);
|
|
#endif
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|