mirror of
https://github.com/vapaamies/KolibriOS.git
synced 2025-09-22 07:03:53 +02:00
Program exit code support in KoW
This commit is contained in:
@@ -12,12 +12,15 @@ type
|
||||
HRSRC = THandle;
|
||||
|
||||
var
|
||||
ExitCode: Integer;
|
||||
MainWindow: THandle;
|
||||
|
||||
const
|
||||
kernel32 = 'kernel32.dll';
|
||||
user32 = 'user32.dll';
|
||||
|
||||
procedure _Halt(ExitCode: Integer);
|
||||
|
||||
procedure ExitProcess(ExitCode: Cardinal); stdcall;
|
||||
external kernel32 name 'ExitProcess';
|
||||
function GetCommandLine: PKolibriChar; stdcall;
|
||||
|
Reference in New Issue
Block a user