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 31