Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 06e075b

Browse files
committed
Annotate registry.iss
1 parent bc7684c commit 06e075b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/registry.iss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,21 @@
1515

1616
[Code]
1717
18+
// Wrapper for RegGetSubkeyNames so it acts like a function
1819
function FuncRegGetSubkeyNames(RootKey: Integer; SubKeyName: String): TArrayOfString;
1920
begin
2021
RegGetSubkeyNames(RootKey, SubKeyName, Result);
2122
end;
2223
24+
// Wrapper for RegQueryStringValue so it acts like a function
2325
function FuncRegQueryStringValue(RootKey: Integer; SubKeyName, ValueName: String): String;
2426
begin
25-
Result := ''
27+
Result := '';
2628
RegQueryStringValue(RootKey, SubKeyName, ValueName, Result);
2729
end;
2830
31+
// Given a directory path, appends the directory to the system's Path environment variable,
32+
// if it doesn't already exist
2933
procedure AppendPath(Dir: String);
3034
var
3135
RegValue: String;

0 commit comments

Comments
 (0)