WINBASEAPI
HANDLE
WINAPI
GetCurrentThread(
VOID
);
WINBASEAPI
DWORD
WINAPI
GetCurrentThreadId(
VOID
);
WINBASEAPI
DWORD
WINAPI
GetProcessIdOfThread(
HANDLE Thread
);
WINBASEAPI
DWORD
WINAPI
GetThreadId(
HANDLE Thread
);
WINBASEAPI
DWORD
WINAPI
GetProcessId(
HANDLE Process
);
WINBASEAPI
DWORD
WINAPI
GetCurrentProcessorNumber(
VOID
);
WINBASEAPI
DWORD_PTR
WINAPI
SetThreadAffinityMask(
IN HANDLE hThread,
IN DWORD_PTR dwThreadAffinityMask
);
#if(_WIN32_WINNT >= 0x0400)
WINBASEAPI
DWORD
WINAPI
SetThreadIdealProcessor(
IN HANDLE hThread,
IN DWORD dwIdealProcessor
);
#endif /* _WIN32_WINNT >= 0x0400 */
WINBASEAPI
BOOL
WINAPI
SetProcessPriorityBoost(
IN HANDLE hProcess,
IN BOOL bDisablePriorityBoost
);
WINBASEAPI
BOOL
WINAPI
GetProcessPriorityBoost(
IN HANDLE hProcess,
OUT PBOOL pDisablePriorityBoost
);
WINBASEAPI
BOOL
WINAPI
RequestWakeupLatency(
IN LATENCY_TIME latency
);
WINBASEAPI
BOOL
WINAPI
IsSystemResumeAutomatic(
VOID
);
WINBASEAPI
HANDLE
WINAPI
OpenThread(
DWORD dwDesiredAccess,
BOOL bInheritHandle,
DWORD dwThreadId
);
WINBASEAPI
BOOL
WINAPI
SetThreadPriority(
IN HANDLE hThread,
IN int nPriority
);
WINBASEAPI
BOOL
WINAPI
SetThreadPriorityBoost(
IN HANDLE hThread,
IN BOOL bDisablePriorityBoost
);
WINBASEAPI
BOOL
WINAPI
GetThreadPriorityBoost(
IN HANDLE hThread,
OUT PBOOL pDisablePriorityBoost
);
WINBASEAPI
int
WINAPI
GetThreadPriority(
IN HANDLE hThread
);