ReactOS
0.4.16-dev-527-gdad3a09
processthreadsapi.h
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS SDK
3
* LICENSE: MIT (https://spdx.org/licenses/MIT)
4
* PURPOSE: API definitions for api-ms-win-core-processthreads-l1
5
* COPYRIGHT: Copyright 2024 Timo Kreuzer (timo.kreuzer@reactos.org)
6
*/
7
8
#pragma once
9
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
13
14
WINBASEAPI
15
BOOL
16
WINAPI
17
SetThreadStackGuarantee
(
18
_Inout_
PULONG
StackSizeInBytes);
19
20
FORCEINLINE
21
HANDLE
22
GetCurrentThreadEffectiveToken
(
23
VOID
)
24
{
25
return
(
HANDLE
)(
LONG_PTR
)-6;
26
}
27
28
#ifdef __cplusplus
29
}
// extern "C"
30
#endif
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
WINBASEAPI
#define WINBASEAPI
Definition:
green.h:8
void
Definition:
nsiface.idl:2307
GetCurrentThreadEffectiveToken
#define GetCurrentThreadEffectiveToken()
Definition:
security.c:42
_Inout_
#define _Inout_
Definition:
no_sal2.h:162
SetThreadStackGuarantee
WINBASEAPI BOOL WINAPI SetThreadStackGuarantee(_Inout_ PULONG StackSizeInBytes)
LONG_PTR
#define LONG_PTR
Definition:
treelist.c:79
PULONG
uint32_t * PULONG
Definition:
typedefs.h:59
FORCEINLINE
#define FORCEINLINE
Definition:
wdftypes.h:67
WINAPI
#define WINAPI
Definition:
msvc.h:6
sdk
include
psdk
processthreadsapi.h
Generated on Sat Jan 18 2025 06:12:44 for ReactOS by
1.9.6