reactos/sdk/include/psdk/processthreadsapi.h

31 lines
511 B
C
Raw Normal View History

2024-05-26 12:26:23 +00:00
/*
* 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