]> git.proxmox.com Git - rustc.git/blame - vendor/winapi/src/um/fibersapi.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / vendor / winapi / src / um / fibersapi.rs
CommitLineData
ff7c6d11
XL
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.
6use shared::minwindef::{BOOL, DWORD};
7use um::winnt::{PFLS_CALLBACK_FUNCTION, PVOID};
8extern "system" {
9 pub fn FlsAlloc(
10 lpCallback: PFLS_CALLBACK_FUNCTION,
11 ) -> DWORD;
12 pub fn FlsGetValue(
13 dwFlsIndex: DWORD,
14 ) -> PVOID;
15 pub fn FlsSetValue(
16 dwFlsIndex: DWORD,
17 lpFlsData: PVOID,
18 ) -> BOOL;
19 pub fn FlsFree(
20 dwFlsIndex: DWORD,
21 ) -> BOOL;
22 pub fn IsThreadAFiber() -> BOOL;
23}