Browse Source

* add openthread, mantis 035529 by 440bx

git-svn-id: trunk@42008 -
marco 6 years ago
parent
commit
caa5e54b00
1 changed files with 1 additions and 0 deletions
  1. 1 0
      rtl/win/wininc/func.inc

+ 1 - 0
rtl/win/wininc/func.inc

@@ -1326,6 +1326,7 @@ function CONSOLE_REAL_OUTPUT_HANDLE : HANDLE;
   function Wow64RevertWow64FsRedirection(RedirectionState : pointer) : BOOL; stdcall; external 'kernel32.dll' name 'Wow64RevertWow64FsRedirection';
   function IsWow64Process(hProcess:THandle; Wow64Process:PBOOL):BOOL;stdcall; external 'kernel32.dll' name 'IsWow64Process';
   function GetPhysicallyInstalledSystemMemory(TotalMemoryInKilobytes: PULONGLONG ):BOOL; stdcall; external 'kernel32.dll' name 'GetPhysicallyInstalledSystemMemory';
+  function OpenThread(DesiredAccess : DWORD; InheritHandle : BOOL; ThreadId : DWORD) : THANDLE; stdcall; external 'kernel32.dll' name 'OpenThread';
 {$endif read_interface}