diff options
Diffstat (limited to 'plugins/Pascal_Headers/m_core.inc')
-rw-r--r-- | plugins/Pascal_Headers/m_core.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/Pascal_Headers/m_core.inc b/plugins/Pascal_Headers/m_core.inc index 7940868c9b..a46174c193 100644 --- a/plugins/Pascal_Headers/m_core.inc +++ b/plugins/Pascal_Headers/m_core.inc @@ -498,6 +498,9 @@ function forkthread(func:pThreadFunc; stacksize:uint; arg:pointer):uint_ptr; std function forkthreadex(sec:pointer; stacksize:uint; func:pThreadFuncEx; owner:pointer; arg:pointer; thraddr:puint_ptr):uint_ptr; stdcall;
external CoreDLL name 'forkthreadex';
+procedure Thread_SetName(dwThreadID:dword; const szThreadName:pAnsiChar); stdcall;
+ external CoreDLL name 'Thread_SetName';
+
procedure KillObjectThreads(pObject:pointer); stdcall;
external CoreDLL name 'KillObjectThreads';
@@ -545,4 +548,7 @@ function mir_utf8lenW(const src:pWideChar):int; stdcall; ///////////////////////////////////////////////////////////////////////////////
+procedure UnloadCoreModule(); stdcall;
+ external CoreDLL name 'UnloadCoreModule';
+
{$ENDIF}
|