### processthreadsapi.h ###

LPPROCESS_INFORMATION=type
type.LPPROCESS_INFORMATION=p

LPSTARTUPINFOA=type
type.LPSTARTUPINFOA=p

LPSTARTUPINFOW=type
type.LPSTARTUPINFOW=p



CreateProcessA=func
func.CreateProcessA.args=10
func.CreateProcessA.arg.0=LPCSTR,lpApplicationName
func.CreateProcessA.arg.1=LPSTR,lpCommandLine
func.CreateProcessA.arg.2=LPSECURITY_ATTRIBUTES,lpProcessAttributes
func.CreateProcessA.arg.3=LPSECURITY_ATTRIBUTES,lpThreadAttributes
func.CreateProcessA.arg.4=BOOL,bInheritHandles
func.CreateProcessA.arg.5=DWORD,dwCreationFlags
func.CreateProcessA.arg.6=LPVOID,lpEnvironment
func.CreateProcessA.arg.7=LPCSTR,lpCurrentDirectory
func.CreateProcessA.arg.8=LPSTARTUPINFOA,lpStartupInfo
func.CreateProcessA.arg.9=LPPROCESS_INFORMATION,lpProcessInformation
func.CreateProcessA.ret=BOOL

CreateProcessAsUserA=func
func.CreateProcessAsUserA.args=11
func.CreateProcessAsUserA.arg.0=HANDLE,hToken
func.CreateProcessAsUserA.arg.1=LPCSTR,lpApplicationName
func.CreateProcessAsUserA.arg.2=LPSTR,lpCommandLine
func.CreateProcessAsUserA.arg.3=LPSECURITY_ATTRIBUTES,lpProcessAttributes
func.CreateProcessAsUserA.arg.4=LPSECURITY_ATTRIBUTES,lpThreadAttributes
func.CreateProcessAsUserA.arg.5=BOOL,bInheritHandles
func.CreateProcessAsUserA.arg.6=DWORD,dwCreationFlags
func.CreateProcessAsUserA.arg.7=LPVOID,lpEnvironment
func.CreateProcessAsUserA.arg.8=LPCSTR,lpCurrentDirectory
func.CreateProcessAsUserA.arg.9=LPSTARTUPINFOA,lpStartupInfo
func.CreateProcessAsUserA.arg.10=LPPROCESS_INFORMATION,lpProcessInformation
func.CreateProcessAsUserA.ret=BOOL

CreateProcessAsUserW=func
func.CreateProcessAsUserW.args=11
func.CreateProcessAsUserW.arg.0=HANDLE,hToken
func.CreateProcessAsUserW.arg.1=LPCWSTR,lpApplicationName
func.CreateProcessAsUserW.arg.2=LPWSTR,lpCommandLine
func.CreateProcessAsUserW.arg.3=LPSECURITY_ATTRIBUTES,lpProcessAttributes
func.CreateProcessAsUserW.arg.4=LPSECURITY_ATTRIBUTES,lpThreadAttributes
func.CreateProcessAsUserW.arg.5=BOOL,bInheritHandles
func.CreateProcessAsUserW.arg.6=DWORD,dwCreationFlags
func.CreateProcessAsUserW.arg.7=LPVOID,lpEnvironment
func.CreateProcessAsUserW.arg.8=LPCWSTR,lpCurrentDirectory
func.CreateProcessAsUserW.arg.9=LPSTARTUPINFOW,lpStartupInfo
func.CreateProcessAsUserW.arg.10=LPPROCESS_INFORMATION,lpProcessInformation
func.CreateProcessAsUserW.ret=BOOL

CreateProcessW=func
func.CreateProcessW.args=10
func.CreateProcessW.arg.0=LPCWSTR,lpApplicationName
func.CreateProcessW.arg.1=LPWSTR,lpCommandLine
func.CreateProcessW.arg.2=LPSECURITY_ATTRIBUTES,lpProcessAttributes
func.CreateProcessW.arg.3=LPSECURITY_ATTRIBUTES,lpThreadAttributes
func.CreateProcessW.arg.4=BOOL,bInheritHandles
func.CreateProcessW.arg.5=DWORD,dwCreationFlags
func.CreateProcessW.arg.6=LPVOID,lpEnvironment
func.CreateProcessW.arg.7=LPCWSTR,lpCurrentDirectory
func.CreateProcessW.arg.8=LPSTARTUPINFOW,lpStartupInfo
func.CreateProcessW.arg.9=LPPROCESS_INFORMATION,lpProcessInformation
func.CreateProcessW.ret=BOOL

CreateRemoteThread=func
func.CreateRemoteThread.args=7
func.CreateRemoteThread.arg.0=HANDLE,hProcess
func.CreateRemoteThread.arg.1=LPSECURITY_ATTRIBUTES,lpThreadAttributes
func.CreateRemoteThread.arg.2=SIZE_T,dwStackSize
func.CreateRemoteThread.arg.3=LPTHREAD_START_ROUTINE,lpStartAddress
func.CreateRemoteThread.arg.4=LPVOID,lpParameter
func.CreateRemoteThread.arg.5=DWORD,dwCreationFlags
func.CreateRemoteThread.arg.6=LPDWORD,lpThreadId
func.CreateRemoteThread.ret=HANDLE

CreateRemoteThreadEx=func
func.CreateRemoteThreadEx.args=8
func.CreateRemoteThreadEx.arg.0=HANDLE,hProcess
func.CreateRemoteThreadEx.arg.1=LPSECURITY_ATTRIBUTES,lpThreadAttributes
func.CreateRemoteThreadEx.arg.2=SIZE_T,dwStackSize
func.CreateRemoteThreadEx.arg.3=LPTHREAD_START_ROUTINE,lpStartAddress
func.CreateRemoteThreadEx.arg.4=LPVOID,lpParameter
func.CreateRemoteThreadEx.arg.5=DWORD,dwCreationFlags
func.CreateRemoteThreadEx.arg.6=LPPROC_THREAD_ATTRIBUTE_LIST,lpAttributeList
func.CreateRemoteThreadEx.arg.7=LPDWORD,lpThreadId
func.CreateRemoteThreadEx.ret=HANDLE

CreateThread=func
func.CreateThread.args=6
func.CreateThread.arg.0=LPSECURITY_ATTRIBUTES,lpThreadAttributes
func.CreateThread.arg.1=SIZE_T,dwStackSize
func.CreateThread.arg.2=LPTHREAD_START_ROUTINE,lpStartAddress
func.CreateThread.arg.3=LPVOID,lpParameter
func.CreateThread.arg.4=DWORD,dwCreationFlags
func.CreateThread.arg.5=LPDWORD,lpThreadId
func.CreateThread.ret=HANDLE

DeleteProcThreadAttributeList=func
func.DeleteProcThreadAttributeList.args=1
func.DeleteProcThreadAttributeList.arg.0=LPPROC_THREAD_ATTRIBUTE_LIST,lpAttributeList
func.DeleteProcThreadAttributeList.ret=VOID

ExitProcess=func
func.ExitProcess.args=1
func.ExitProcess.arg.0=UINT,uExitCode
func.ExitProcess.noreturn=true
func.ExitProcess.ret=VOID

ExitThread=func
func.ExitThread.args=1
func.ExitThread.arg.0=DWORD,dwExitCode
func.ExitThread.noreturn=true
func.ExitThread.ret=VOID

FlushInstructionCache=func
func.FlushInstructionCache.args=3
func.FlushInstructionCache.arg.0=HANDLE,hProcess
func.FlushInstructionCache.arg.1=LPCVOID,lpBaseAddress
func.FlushInstructionCache.arg.2=SIZE_T,dwSize
func.FlushInstructionCache.ret=BOOL

FlushProcessWriteBuffers=func
func.FlushProcessWriteBuffers.args=0
func.FlushProcessWriteBuffers.ret=VOID

GetCurrentProcess=func
func.GetCurrentProcess.args=0
func.GetCurrentProcess.ret=HANDLE

GetCurrentProcessId=func
func.GetCurrentProcessId.args=0
func.GetCurrentProcessId.ret=DWORD

GetCurrentProcessorNumber=func
func.GetCurrentProcessorNumber.args=0
func.GetCurrentProcessorNumber.ret=DWORD

GetCurrentProcessorNumberEx=func
func.GetCurrentProcessorNumberEx.args=1
func.GetCurrentProcessorNumberEx.arg.0=PPROCESSOR_NUMBER,ProcNumber
func.GetCurrentProcessorNumberEx.ret=VOID

GetCurrentThread=func
func.GetCurrentThread.args=0
func.GetCurrentThread.ret=HANDLE

GetCurrentThreadId=func
func.GetCurrentThreadId.args=0
func.GetCurrentThreadId.ret=DWORD

GetCurrentThreadStackLimits=func
func.GetCurrentThreadStackLimits.args=2
func.GetCurrentThreadStackLimits.arg.0=PULONG_PTR,LowLimit
func.GetCurrentThreadStackLimits.arg.1=PULONG_PTR,HighLimit
func.GetCurrentThreadStackLimits.ret=VOID

GetExitCodeProcess=func
func.GetExitCodeProcess.args=2
func.GetExitCodeProcess.arg.0=HANDLE,hProcess
func.GetExitCodeProcess.arg.1=LPDWORD,lpExitCode
func.GetExitCodeProcess.ret=BOOL

GetExitCodeThread=func
func.GetExitCodeThread.args=2
func.GetExitCodeThread.arg.0=HANDLE,hThread
func.GetExitCodeThread.arg.1=LPDWORD,lpExitCode
func.GetExitCodeThread.ret=BOOL

GetPriorityClass=func
func.GetPriorityClass.args=1
func.GetPriorityClass.arg.0=HANDLE,hProcess
func.GetPriorityClass.ret=DWORD

GetProcessHandleCount=func
func.GetProcessHandleCount.args=2
func.GetProcessHandleCount.arg.0=HANDLE,hProcess
func.GetProcessHandleCount.arg.1=PDWORD,pdwHandleCount
func.GetProcessHandleCount.ret=BOOL

GetProcessId=func
func.GetProcessId.args=1
func.GetProcessId.arg.0=HANDLE,Process
func.GetProcessId.ret=DWORD

GetProcessIdOfThread=func
func.GetProcessIdOfThread.args=1
func.GetProcessIdOfThread.arg.0=HANDLE,Thread
func.GetProcessIdOfThread.ret=DWORD

GetProcessInformation=func
func.GetProcessInformation.args=4
func.GetProcessInformation.arg.0=HANDLE,hProcess
func.GetProcessInformation.arg.1=PROCESS_INFORMATION_CLASS,ProcessInformationClass
func.GetProcessInformation.arg.2=LPVOID,ProcessInformation
func.GetProcessInformation.arg.3=DWORD,ProcessInformationSize
func.GetProcessInformation.ret=BOOL

GetProcessMitigationPolicy=func
func.GetProcessMitigationPolicy.args=4
func.GetProcessMitigationPolicy.arg.0=HANDLE,hProcess
func.GetProcessMitigationPolicy.arg.1=PROCESS_MITIGATION_POLICY,MitigationPolicy
func.GetProcessMitigationPolicy.arg.2=PVOID,lpBuffer
func.GetProcessMitigationPolicy.arg.3=SIZE_T,dwLength
func.GetProcessMitigationPolicy.ret=BOOL

GetProcessPriorityBoost=func
func.GetProcessPriorityBoost.args=2
func.GetProcessPriorityBoost.arg.0=HANDLE,hProcess
func.GetProcessPriorityBoost.arg.1=PBOOL,pDisablePriorityBoost
func.GetProcessPriorityBoost.ret=BOOL

GetProcessShutdownParameters=func
func.GetProcessShutdownParameters.args=2
func.GetProcessShutdownParameters.arg.0=LPDWORD,lpdwLevel
func.GetProcessShutdownParameters.arg.1=LPDWORD,lpdwFlags
func.GetProcessShutdownParameters.ret=BOOL

GetProcessTimes=func
func.GetProcessTimes.args=5
func.GetProcessTimes.arg.0=HANDLE,hProcess
func.GetProcessTimes.arg.1=LPFILETIME,lpCreationTime
func.GetProcessTimes.arg.2=LPFILETIME,lpExitTime
func.GetProcessTimes.arg.3=LPFILETIME,lpKernelTime
func.GetProcessTimes.arg.4=LPFILETIME,lpUserTime
func.GetProcessTimes.ret=BOOL

GetProcessVersion=func
func.GetProcessVersion.args=1
func.GetProcessVersion.arg.0=DWORD,ProcessId
func.GetProcessVersion.ret=DWORD

GetStartupInfoW=func
func.GetStartupInfoW.args=1
func.GetStartupInfoW.arg.0=LPSTARTUPINFOW,lpStartupInfo
func.GetStartupInfoW.ret=VOID

GetSystemTimes=func
func.GetSystemTimes.args=3
func.GetSystemTimes.arg.0=PFILETIME,lpIdleTime
func.GetSystemTimes.arg.1=PFILETIME,lpKernelTime
func.GetSystemTimes.arg.2=PFILETIME,lpUserTime
func.GetSystemTimes.ret=BOOL

GetThreadContext=func
func.GetThreadContext.args=2
func.GetThreadContext.arg.0=HANDLE,hThread
func.GetThreadContext.arg.1=LPCONTEXT,lpContext
func.GetThreadContext.ret=BOOL

GetThreadDescription=func
func.GetThreadDescription.args=2
func.GetThreadDescription.arg.0=HANDLE,hThread
func.GetThreadDescription.arg.1=PWSTR *,ppszThreadDescription
func.GetThreadDescription.ret=HRESULT

GetThreadIOPendingFlag=func
func.GetThreadIOPendingFlag.args=2
func.GetThreadIOPendingFlag.arg.0=HANDLE,hThread
func.GetThreadIOPendingFlag.arg.1=PBOOL,lpIOIsPending
func.GetThreadIOPendingFlag.ret=BOOL

GetThreadId=func
func.GetThreadId.args=1
func.GetThreadId.arg.0=HANDLE,Thread
func.GetThreadId.ret=DWORD

GetThreadIdealProcessorEx=func
func.GetThreadIdealProcessorEx.args=2
func.GetThreadIdealProcessorEx.arg.0=HANDLE,hThread
func.GetThreadIdealProcessorEx.arg.1=PPROCESSOR_NUMBER,lpIdealProcessor
func.GetThreadIdealProcessorEx.ret=BOOL

GetThreadInformation=func
func.GetThreadInformation.args=4
func.GetThreadInformation.arg.0=HANDLE,hThread
func.GetThreadInformation.arg.1=THREAD_INFORMATION_CLASS,ThreadInformationClass
func.GetThreadInformation.arg.2=LPVOID,ThreadInformation
func.GetThreadInformation.arg.3=DWORD,ThreadInformationSize
func.GetThreadInformation.ret=BOOL

GetThreadPriority=func
func.GetThreadPriority.args=1
func.GetThreadPriority.arg.0=HANDLE,hThread
func.GetThreadPriority.ret=int

GetThreadPriorityBoost=func
func.GetThreadPriorityBoost.args=2
func.GetThreadPriorityBoost.arg.0=HANDLE,hThread
func.GetThreadPriorityBoost.arg.1=PBOOL,pDisablePriorityBoost
func.GetThreadPriorityBoost.ret=BOOL

GetThreadTimes=func
func.GetThreadTimes.args=5
func.GetThreadTimes.arg.0=HANDLE,hThread
func.GetThreadTimes.arg.1=LPFILETIME,lpCreationTime
func.GetThreadTimes.arg.2=LPFILETIME,lpExitTime
func.GetThreadTimes.arg.3=LPFILETIME,lpKernelTime
func.GetThreadTimes.arg.4=LPFILETIME,lpUserTime
func.GetThreadTimes.ret=BOOL

InitializeProcThreadAttributeList=func
func.InitializeProcThreadAttributeList.args=4
func.InitializeProcThreadAttributeList.arg.0=LPPROC_THREAD_ATTRIBUTE_LIST,lpAttributeList
func.InitializeProcThreadAttributeList.arg.1=DWORD,dwAttributeCount
func.InitializeProcThreadAttributeList.arg.2=DWORD,dwFlags
func.InitializeProcThreadAttributeList.arg.3=PSIZE_T,lpSize
func.InitializeProcThreadAttributeList.ret=BOOL

IsProcessCritical=func
func.IsProcessCritical.args=2
func.IsProcessCritical.arg.0=HANDLE,hProcess
func.IsProcessCritical.arg.1=PBOOL,Critical
func.IsProcessCritical.ret=BOOL

IsProcessorFeaturePresent=func
func.IsProcessorFeaturePresent.args=1
func.IsProcessorFeaturePresent.arg.0=DWORD,ProcessorFeature
func.IsProcessorFeaturePresent.ret=BOOL

OpenProcess=func
func.OpenProcess.args=3
func.OpenProcess.arg.0=DWORD,dwDesiredAccess
func.OpenProcess.arg.1=BOOL,bInheritHandle
func.OpenProcess.arg.2=DWORD,dwProcessId
func.OpenProcess.ret=HANDLE

OpenProcessToken=func
func.OpenProcessToken.args=3
func.OpenProcessToken.arg.0=HANDLE,ProcessHandle
func.OpenProcessToken.arg.1=DWORD,DesiredAccess
func.OpenProcessToken.arg.2=PHANDLE,TokenHandle
func.OpenProcessToken.ret=BOOL

OpenThread=func
func.OpenThread.args=3
func.OpenThread.arg.0=DWORD,dwDesiredAccess
func.OpenThread.arg.1=BOOL,bInheritHandle
func.OpenThread.arg.2=DWORD,dwThreadId
func.OpenThread.ret=HANDLE

OpenThreadToken=func
func.OpenThreadToken.args=4
func.OpenThreadToken.arg.0=HANDLE,ThreadHandle
func.OpenThreadToken.arg.1=DWORD,DesiredAccess
func.OpenThreadToken.arg.2=BOOL,OpenAsSelf
func.OpenThreadToken.arg.3=PHANDLE,TokenHandle
func.OpenThreadToken.ret=BOOL

ProcessIdToSessionId=func
func.ProcessIdToSessionId.args=2
func.ProcessIdToSessionId.arg.0=DWORD,dwProcessId
func.ProcessIdToSessionId.arg.1=DWORD *,pSessionId
func.ProcessIdToSessionId.ret=BOOL

QueryProcessAffinityUpdateMode=func
func.QueryProcessAffinityUpdateMode.args=2
func.QueryProcessAffinityUpdateMode.arg.0=HANDLE,hProcess
func.QueryProcessAffinityUpdateMode.arg.1=LPDWORD,lpdwFlags
func.QueryProcessAffinityUpdateMode.ret=BOOL

QueryProtectedPolicy=func
func.QueryProtectedPolicy.args=2
func.QueryProtectedPolicy.arg.0=LPCGUID,PolicyGuid
func.QueryProtectedPolicy.arg.1=PULONG_PTR,PolicyValue
func.QueryProtectedPolicy.ret=BOOL

QueueUserAPC=func
func.QueueUserAPC.args=3
func.QueueUserAPC.arg.0=PAPCFUNC,pfnAPC
func.QueueUserAPC.arg.1=HANDLE,hThread
func.QueueUserAPC.arg.2=ULONG_PTR,dwData
func.QueueUserAPC.ret=DWORD

ResumeThread=func
func.ResumeThread.args=1
func.ResumeThread.arg.0=HANDLE,hThread
func.ResumeThread.ret=DWORD

SetPriorityClass=func
func.SetPriorityClass.args=2
func.SetPriorityClass.arg.0=HANDLE,hProcess
func.SetPriorityClass.arg.1=DWORD,dwPriorityClass
func.SetPriorityClass.ret=BOOL

SetProcessAffinityUpdateMode=func
func.SetProcessAffinityUpdateMode.args=2
func.SetProcessAffinityUpdateMode.arg.0=HANDLE,hProcess
func.SetProcessAffinityUpdateMode.arg.1=DWORD,dwFlags
func.SetProcessAffinityUpdateMode.ret=BOOL

SetProcessInformation=func
func.SetProcessInformation.args=4
func.SetProcessInformation.arg.0=HANDLE,hProcess
func.SetProcessInformation.arg.1=PROCESS_INFORMATION_CLASS,ProcessInformationClass
func.SetProcessInformation.arg.2=LPVOID,ProcessInformation
func.SetProcessInformation.arg.3=DWORD,ProcessInformationSize
func.SetProcessInformation.ret=BOOL

SetProcessMitigationPolicy=func
func.SetProcessMitigationPolicy.args=3
func.SetProcessMitigationPolicy.arg.0=PROCESS_MITIGATION_POLICY,MitigationPolicy
func.SetProcessMitigationPolicy.arg.1=PVOID,lpBuffer
func.SetProcessMitigationPolicy.arg.2=SIZE_T,dwLength
func.SetProcessMitigationPolicy.ret=BOOL

SetProcessPriorityBoost=func
func.SetProcessPriorityBoost.args=2
func.SetProcessPriorityBoost.arg.0=HANDLE,hProcess
func.SetProcessPriorityBoost.arg.1=BOOL,bDisablePriorityBoost
func.SetProcessPriorityBoost.ret=BOOL

SetProcessShutdownParameters=func
func.SetProcessShutdownParameters.args=2
func.SetProcessShutdownParameters.arg.0=DWORD,dwLevel
func.SetProcessShutdownParameters.arg.1=DWORD,dwFlags
func.SetProcessShutdownParameters.ret=BOOL

SetProtectedPolicy=func
func.SetProtectedPolicy.args=3
func.SetProtectedPolicy.arg.0=LPCGUID,PolicyGuid
func.SetProtectedPolicy.arg.1=ULONG_PTR,PolicyValue
func.SetProtectedPolicy.arg.2=PULONG_PTR,OldPolicyValue
func.SetProtectedPolicy.ret=BOOL

SetThreadContext=func
func.SetThreadContext.args=2
func.SetThreadContext.arg.0=HANDLE,hThread
func.SetThreadContext.arg.1=const CONTEXT *,lpContext
func.SetThreadContext.ret=BOOL

SetThreadDescription=func
func.SetThreadDescription.args=2
func.SetThreadDescription.arg.0=HANDLE,hThread
func.SetThreadDescription.arg.1=PCWSTR,lpThreadDescription
func.SetThreadDescription.ret=HRESULT

SetThreadIdealProcessor=func
func.SetThreadIdealProcessor.args=2
func.SetThreadIdealProcessor.arg.0=HANDLE,hThread
func.SetThreadIdealProcessor.arg.1=DWORD,dwIdealProcessor
func.SetThreadIdealProcessor.ret=DWORD

SetThreadIdealProcessorEx=func
func.SetThreadIdealProcessorEx.args=3
func.SetThreadIdealProcessorEx.arg.0=HANDLE,hThread
func.SetThreadIdealProcessorEx.arg.1=PPROCESSOR_NUMBER,lpIdealProcessor
func.SetThreadIdealProcessorEx.arg.2=PPROCESSOR_NUMBER,lpPreviousIdealProcessor
func.SetThreadIdealProcessorEx.ret=BOOL

SetThreadInformation=func
func.SetThreadInformation.args=4
func.SetThreadInformation.arg.0=HANDLE,hThread
func.SetThreadInformation.arg.1=THREAD_INFORMATION_CLASS,ThreadInformationClass
func.SetThreadInformation.arg.2=LPVOID,ThreadInformation
func.SetThreadInformation.arg.3=DWORD,ThreadInformationSize
func.SetThreadInformation.ret=BOOL

SetThreadPriority=func
func.SetThreadPriority.args=2
func.SetThreadPriority.arg.0=HANDLE,hThread
func.SetThreadPriority.arg.1=int,nPriority
func.SetThreadPriority.ret=BOOL

SetThreadPriorityBoost=func
func.SetThreadPriorityBoost.args=2
func.SetThreadPriorityBoost.arg.0=HANDLE,hThread
func.SetThreadPriorityBoost.arg.1=BOOL,bDisablePriorityBoost
func.SetThreadPriorityBoost.ret=BOOL

SetThreadStackGuarantee=func
func.SetThreadStackGuarantee.args=1
func.SetThreadStackGuarantee.arg.0=PULONG,StackSizeInBytes
func.SetThreadStackGuarantee.ret=BOOL

SetThreadToken=func
func.SetThreadToken.args=2
func.SetThreadToken.arg.0=PHANDLE,Thread
func.SetThreadToken.arg.1=HANDLE,Token
func.SetThreadToken.ret=BOOL

SuspendThread=func
func.SuspendThread.args=1
func.SuspendThread.arg.0=HANDLE,hThread
func.SuspendThread.ret=DWORD

SwitchToThread=func
func.SwitchToThread.args=0
func.SwitchToThread.ret=BOOL

TerminateProcess=func
func.TerminateProcess.args=2
func.TerminateProcess.arg.0=HANDLE,hProcess
func.TerminateProcess.arg.1=UINT,uExitCode
func.TerminateProcess.ret=BOOL

TerminateThread=func
func.TerminateThread.args=2
func.TerminateThread.arg.0=HANDLE,hThread
func.TerminateThread.arg.1=DWORD,dwExitCode
func.TerminateThread.ret=BOOL

TlsAlloc=func
func.TlsAlloc.args=0
func.TlsAlloc.ret=DWORD

TlsFree=func
func.TlsFree.args=1
func.TlsFree.arg.0=DWORD,dwTlsIndex
func.TlsFree.ret=BOOL

TlsGetValue=func
func.TlsGetValue.args=1
func.TlsGetValue.arg.0=DWORD,dwTlsIndex
func.TlsGetValue.ret=LPVOID

TlsSetValue=func
func.TlsSetValue.args=2
func.TlsSetValue.arg.0=DWORD,dwTlsIndex
func.TlsSetValue.arg.1=LPVOID,lpTlsValue
func.TlsSetValue.ret=BOOL

UpdateProcThreadAttribute=func
func.UpdateProcThreadAttribute.args=7
func.UpdateProcThreadAttribute.arg.0=LPPROC_THREAD_ATTRIBUTE_LIST,lpAttributeList
func.UpdateProcThreadAttribute.arg.1=DWORD,dwFlags
func.UpdateProcThreadAttribute.arg.2=DWORD_PTR,Attribute
func.UpdateProcThreadAttribute.arg.3=PVOID,lpValue
func.UpdateProcThreadAttribute.arg.4=SIZE_T,cbSize
func.UpdateProcThreadAttribute.arg.5=PVOID,lpPreviousValue
func.UpdateProcThreadAttribute.arg.6=PSIZE_T,lpReturnSize
func.UpdateProcThreadAttribute.ret=BOOL
