aboutsummaryrefslogtreecommitdiff
path: root/core/sys/windows/util.odin
Commit message (Collapse)AuthorAgeFilesLines
* More formatting improvementsgingerBill2026-01-021-5/+29
|
* Change usage of `i32` to `c_int` where appropriategingerBill2026-01-021-8/+8
|
* Require `@(init)` and `@(fini)` to be `proc "contextless" ()`gingerBill2025-08-081-2/+2
|
* `for in string16`; Support `string16` across coregingerBill2025-08-021-25/+25
|
* Fix #5452Jeroen van Rijn2025-07-111-4/+33
|
* Factor out buffered utf helper.Jeroen van Rijn2025-06-161-4/+68
|
* Deprecate old @(deprecated) things.Jeroen van Rijn2025-06-061-8/+0
|
* Moved all packages in core, base, vendor, tests and examples to use new #+ ↵Karl Zylinski2024-09-141-1/+1
| | | | file tag syntax.
* Merge remote-tracking branch 'upstream/master' into sys-windows-2Thomas la Cour2024-07-121-2/+2
|\
| * [sys/windows] Add advapi bindings, process-related functions and ↵flysand72024-07-121-2/+2
| | | | | | | | context-related stuff
* | Merge remote-tracking branch 'upstream/master' into sys-windows-2Thomas la Cour2024-07-111-2/+2
|\| | | | | | | | | | | | | | | # Conflicts: # core/sys/windows/kernel32.odin # core/sys/windows/types.odin # core/sys/windows/user32.odin # core/sys/windows/winerror.odin
| * Improve fix.Jeroen van Rijn2024-07-051-4/+1
| |
| * Fix utf8_to_wstring given zero bytes.Jeroen van Rijn2024-07-051-1/+4
| |
* | more windows stuffThomas la Cour2024-06-111-2/+59
|/
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-281-2/+2
|
* Add GetStartupInfoW. Rename StartupInfo to StartupInfoW.Elusive Porpoise2023-04-031-2/+2
|
* manually start merging core_netColin Davidson2023-03-011-0/+21
|
* Allow for `N = -1` in `wstring_to_utf8`gingerBill2022-10-181-4/+4
|
* smaller allocation for noIan Lilley2022-08-151-3/+3
| | | | n-null-terminated wstring
* Add `MAKE_WORD`gingerBill2022-07-211-0/+4
|
* Remove `strings` dependency from `core:sys/windows`gingerBill2022-06-021-2/+15
|
* Remove `A` calls in favour of `W` callsgingerBill2022-05-121-16/+16
|
* Make the utf16 conversion procedures in `core:sys/windows` safer by checking ↵gingerBill2022-05-121-13/+13
| | | | for memory leaks
* sys/windows: add a couple macroshikari2022-04-071-0/+8
|
* sys/windows: move L into util.odinhikari2022-04-011-1/+4
|
* [windows] Fix leak in `glob`.Jeroen van Rijn2022-03-291-3/+4
|
* Remove unneeded semicolons from the core librarygingerBill2021-08-311-137/+137
|
* Allow `core:sys/windows` to build on Windows onlyJeroen van Rijn2021-07-151-0/+1
|
* Placate -vet.Jeroen van Rijn2021-04-131-2/+0
|
* Add support to core:windows to add/delete users.Jeroen van Rijn2021-04-131-0/+376
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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); }
* Minimize unneeded castsgingerBill2021-03-031-2/+2
|
* Replace usage of `inline proc` with `#force_inline proc` in the core librarygingerBill2021-02-231-2/+2
|
* Improve default temp allocator; Fix filepath.abs behaviour on WindowsgingerBill2020-10-131-5/+14
|
* Remove usage of `do` in core librarygingerBill2020-09-231-1/+3
|
* Begin migration from sys/win32 to sys/windowsgingerBill2020-06-261-0/+72