|
@@ -568,14 +568,9 @@ begin
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
|
|
|
|
-{ ProcessID cached to avoid repeated calls to GetCurrentProcess. }
|
|
|
|
-
|
|
|
|
-var
|
|
|
|
- ProcessID: SizeUInt;
|
|
|
|
-
|
|
|
|
function GetProcessID: SizeUInt;
|
|
function GetProcessID: SizeUInt;
|
|
begin
|
|
begin
|
|
- GetProcessID := ProcessID;
|
|
|
|
|
|
+ GetProcessID := GetCurrentProcessID;
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
|