Add GetStartupInfoW. Rename StartupInfo to StartupInfoW.
This commit is contained in:
1 parent
24ddb8506f
commit
2795f09fa8
4 files changed
+8
-8
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user