mirror of
https://github.com/reactos/reactos.git
synced 2025-07-01 12:51:30 +00:00
[SDK] Add some missing headers
This commit is contained in:
parent
1c5ddc893a
commit
dc0433f02a
9 changed files with 258 additions and 0 deletions
30
sdk/include/psdk/processthreadsapi.h
Normal file
30
sdk/include/psdk/processthreadsapi.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
* PROJECT: ReactOS SDK
|
||||
* LICENSE: MIT (https://spdx.org/licenses/MIT)
|
||||
* PURPOSE: API definitions for api-ms-win-core-processthreads-l1
|
||||
* COPYRIGHT: Copyright 2024 Timo Kreuzer (timo.kreuzer@reactos.org)
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
WINBASEAPI
|
||||
BOOL
|
||||
WINAPI
|
||||
SetThreadStackGuarantee(
|
||||
_Inout_ PULONG StackSizeInBytes);
|
||||
|
||||
FORCEINLINE
|
||||
HANDLE
|
||||
GetCurrentThreadEffectiveToken(
|
||||
VOID)
|
||||
{
|
||||
return (HANDLE)(LONG_PTR)-6;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue