Files
reactos/sdk/include/psdk/processthreadsapi.h
2025-05-29 01:14:01 -07:00

40 lines
724 B
C

/*
* 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
typedef enum _THREAD_INFORMATION_CLASS
{
ThreadMemoryPriority,
ThreadAbsoluteCpuPriority,
ThreadDynamicCodePolicy,
ThreadPowerThrottling,
ThreadInformationClassMax
} THREAD_INFORMATION_CLASS;
WINBASEAPI
BOOL
WINAPI
SetThreadStackGuarantee(
_Inout_ PULONG StackSizeInBytes);
FORCEINLINE
HANDLE
GetCurrentThreadEffectiveToken(
VOID)
{
return (HANDLE)(LONG_PTR)-6;
}
#ifdef __cplusplus
} // extern "C"
#endif