Add GetStartupInfoW. Rename StartupInfo to StartupInfoW.

This commit is contained in:
Elusive Porpoise
2023-04-03 22:27:47 -07:00
parent 24ddb8506f
commit 2795f09fa8
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -457,8 +457,8 @@ run_as_user :: proc(username, password, application, commandline: string, pi: ^P
// err := GetLastError();
// fmt.printf("GetLastError: %v\n", err);
}
si := STARTUPINFO{}
si.cb = size_of(STARTUPINFO)
si := STARTUPINFOW{}
si.cb = size_of(STARTUPINFOW)
pi := pi
ok = bool(CreateProcessAsUserW(