Elusive Porpoise
|
2795f09fa8
|
Add GetStartupInfoW. Rename StartupInfo to StartupInfoW.
|
2023-04-03 22:27:47 -07:00 |
|
Colin Davidson
|
28f7f57247
|
manually start merging core_net
|
2023-03-01 07:58:30 -08:00 |
|
gingerBill
|
80ce1b7d85
|
Allow for N = -1 in wstring_to_utf8
|
2022-10-18 10:28:17 +01:00 |
|
Ian Lilley
|
87094ef96c
|
smaller allocation for no
n-null-terminated wstring
|
2022-08-15 09:17:10 -04:00 |
|
gingerBill
|
e1748a5dd1
|
Add MAKE_WORD
|
2022-07-21 17:08:11 +01:00 |
|
gingerBill
|
fb49841b1d
|
Remove strings dependency from core:sys/windows
|
2022-06-02 13:02:16 +01:00 |
|
gingerBill
|
0c45a46aab
|
Remove A calls in favour of W calls
|
2022-05-12 14:21:25 +01:00 |
|
gingerBill
|
eef44b11f3
|
Make the utf16 conversion procedures in core:sys/windows safer by checking for memory leaks
|
2022-05-12 13:17:58 +01:00 |
|
hikari
|
c4a7739d13
|
sys/windows: add a couple macros
|
2022-04-07 19:28:24 +03:00 |
|
hikari
|
b21cf05d44
|
sys/windows: move L into util.odin
|
2022-04-01 02:25:10 +03:00 |
|
Jeroen van Rijn
|
df32b5b46c
|
[windows] Fix leak in glob.
|
2022-03-29 16:13:17 +02:00 |
|
gingerBill
|
251da264ed
|
Remove unneeded semicolons from the core library
|
2021-08-31 22:21:13 +01:00 |
|
Jeroen van Rijn
|
5dfff51a40
|
Allow core:sys/windows to build on Windows only
|
2021-07-15 12:13:57 +02:00 |
|
Jeroen van Rijn
|
aca5c7c1c6
|
Placate -vet.
|
2021-04-13 02:18:47 +02:00 |
|
Jeroen van Rijn
|
a1d871360c
|
Add support to core:windows to add/delete users.
main :: proc() {
using fmt;
using windows;
username := "testuser";
password := "testpass";
ok := add_user("", username, password);
fmt.printf("add_user: %v\n", ok);
pi := windows.PROCESS_INFORMATION{};
ok2, path := windows.add_user_profile(username);
fmt.printf("add_user_profile: %v, %v\n", ok2, path);
ok3 := windows.delete_user_profile(username);
fmt.printf("delete_user_profile: %v\n", ok3);
ok4 := windows.delete_user("", username);
fmt.printf("delete_user: %v\n", ok4);
// Has optional bool to not wait on the process before returning.
b := run_as_user(username, password, "C:\\Repro\\repro.exe", "Hellope!", &pi);
fmt.printf("run_as_user: %v %v\n", b, pi);
}
|
2021-04-13 02:09:44 +02:00 |
|
gingerBill
|
b727b6438b
|
Minimize unneeded casts
|
2021-03-03 14:31:17 +00:00 |
|
gingerBill
|
aa93305015
|
Replace usage of inline proc with #force_inline proc in the core library
|
2021-02-23 16:14:47 +00:00 |
|
gingerBill
|
fa33476438
|
Improve default temp allocator; Fix filepath.abs behaviour on Windows
|
2020-10-13 14:40:13 +01:00 |
|
gingerBill
|
fc4fdd588e
|
Remove usage of do in core library
|
2020-09-23 17:17:14 +01:00 |
|
gingerBill
|
6bd05ef5d7
|
Begin migration from sys/win32 to sys/windows
|
2020-06-26 19:11:34 +01:00 |
|