1 // Licensed under the Apache License, Version 2.0
2 // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
4 // All files in the project carrying such notice may not be copied, modified, or distributed
5 // except according to those terms.
6 use shared::minwindef::{BOOL, DWORD};
7 use um::winnt::{PFLS_CALLBACK_FUNCTION, PVOID};
8 extern "system" {
FlsAlloc( lpCallback: PFLS_CALLBACK_FUNCTION, ) -> DWORD9     pub fn FlsAlloc(
10         lpCallback: PFLS_CALLBACK_FUNCTION,
11     ) -> DWORD;
FlsGetValue( dwFlsIndex: DWORD, ) -> PVOID12     pub fn FlsGetValue(
13         dwFlsIndex: DWORD,
14     ) -> PVOID;
FlsSetValue( dwFlsIndex: DWORD, lpFlsData: PVOID, ) -> BOOL15     pub fn FlsSetValue(
16         dwFlsIndex: DWORD,
17         lpFlsData: PVOID,
18     ) -> BOOL;
FlsFree( dwFlsIndex: DWORD, ) -> BOOL19     pub fn FlsFree(
20         dwFlsIndex: DWORD,
21     ) -> BOOL;
IsThreadAFiber() -> BOOL22     pub fn IsThreadAFiber() -> BOOL;
23 }
24