Commit Graph

449 Commits

Author SHA1 Message Date
gingerBill
16a6c96971 Add VirtualAlloc2 and MapViewOfFile3 2026-02-11 13:01:35 +00:00
jakubtomsu
d492122bd4 import cleanup 2026-02-09 20:08:22 +01:00
gingerBill
813b622dcc Merge pull request #6214 from Josh8011/master
user32.odin add UnhookWinEvent
2026-02-02 11:37:43 +00:00
gingerBill
f45ca2d03e Use contextless 2026-02-02 10:06:44 +00:00
gingerBill
4d938862a2 Merge pull request #5816 from jakubtomsu/win32-rawinput-and-barriers
[core:sys/windows] Sync Barriers, macros for buffered rawinput
2026-02-02 10:05:41 +00:00
Joshua Zimbicki
332af91b23 user32.odin add UnhookWinEvent 2026-02-02 17:31:51 +11:00
gingerBill
5a21213fa5 Merge pull request #6093 from bplu4t2f/master
Add more win32 bindings
2026-01-30 10:47:08 +00:00
Leo Zurbriggen
22ef6ae8c6 add windows.ReadDirectoryChangesExW 2026-01-27 18:11:09 +01:00
bplu4t2f
808c14f60f Add more win32 bindings 2026-01-24 09:54:41 +01:00
laytan
2caee687ed nbio(windows): use one IOCP for all event loops 2026-01-17 21:06:13 +01:00
Laytan Laats
24ee35af28 nbio: add package 2026-01-11 20:21:25 +01:00
gingerBill
393fec2f66 Move WSAEVENT to types.odin 2026-01-05 11:48:19 +00:00
gingerBill
5fae3527c1 Implement LPWSAOVERLAPPED_COMPLETION_ROUTINE correctly 2026-01-05 11:44:52 +00:00
gingerBill
57c7ae1bd9 Minor fixes to formatting and types 2026-01-02 11:35:44 +00:00
gingerBill
e154489f01 More formatting improvements 2026-01-02 11:32:39 +00:00
gingerBill
274e7e7e58 Improve the formatting of user32.odin 2026-01-02 11:25:53 +00:00
gingerBill
006681ec22 Improve formatting; fix types; add struct field tags 2026-01-02 11:18:48 +00:00
gingerBill
b86627ba37 Improve formatting and #raw_union logic in core:sys/windows 2026-01-02 10:39:46 +00:00
gingerBill
c49a645d34 Add raw_union_tag support to MINIDUMP_CALLBACK_INPUT 2026-01-02 10:14:39 +00:00
gingerBill
49687069ef Minor formatting improvements 2026-01-02 10:14:24 +00:00
gingerBill
111ed21e7e Change usage of i32 to c_int where appropriate 2026-01-02 10:02:23 +00:00
gingerBill
747ecc6911 Fix typo 2026-01-02 09:55:56 +00:00
gingerBill
37458a4beb Fix some return types in core:sys/windows 2026-01-02 09:53:50 +00:00
gingerBill
45aa89cf02 Replace uses of c.int with c_int for consistency 2026-01-02 09:47:45 +00:00
gingerBill
b9a170b117 Fix GetSystemMetricsForDpi signature 2026-01-02 09:46:50 +00:00
bplu4t2f
33352ed6cb Add user32 scroll bar related bindings, and FrameRect 2025-12-27 17:31:15 +01:00
Ben Ryan
e2a0f4417f Add SIO_UDP_CONNRESET winsock constant 2025-11-26 20:40:38 +11:00
gingerBill
3e0f9cace6 Merge pull request #5936 from benjryan/wsa_defs
Add WSASendTo and WSARecvFrom
2025-11-16 22:25:08 +00:00
Ben Ryan
a5d9c87ac5 Add WSASendTo and WSARecvFrom 2025-11-16 23:56:54 +11:00
Wrath
a43cee934e LockFileEx/UnlockFileEx and related flags 2025-11-13 23:36:16 -05:00
acyclicgraph
5869ef29d9 Added FreeLibraryAndExitThread in kernel32. Added EnumProcessModules in psapi (new file). 2025-11-08 21:13:12 +01:00
gerigk
fbbdbc37fa Add missing SetLayeredWindowAttributes constants 2025-11-04 18:22:34 +01:00
jakubtomsu
f7ea85ccb2 forgot to use tabs, as always 2025-10-16 16:08:08 +02:00
jakubtomsu
7d9f915ff9 barriers, rawinput macros 2025-10-16 15:59:22 +02:00
Jeroen van Rijn
e1d8ece408 core:sys/info: iterate over registry nodes to enumerate GPUs 2025-10-10 14:12:59 +02:00
FourteenBrush
fb1dd3052d Add RtlNtStatusToDosError ERROR_MR_MID_NOT_FOUND error 2025-09-09 14:11:38 +02:00
FourteenBrush
64e9652776 Add RtlNtStatusToDosError
Maps kernel NTSTATUS to win32 system error
2025-09-09 14:04:36 +02:00
FourteenBrush
9aabe75262 Add ERROR_NOT_FOUND
Returned by `CancelIoEx` when cancelled number or io completions was 0.
Was for some reason defined in `core:os`, but not in win32 pkg.
Ref: https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes--1000-1299-
2025-09-05 00:34:44 +02:00
FourteenBrush
f6bf88d184 Add CancelIoEx to kernel32.odin 2025-09-04 00:38:51 +02:00
FourteenBrush
10b7bba25d Add LPFN_GETACCEPTEXSOCKADDRS to ws2_32.odin 2025-08-31 23:52:00 +02:00
puugz
ba279ec4ea Fix broken wglUseFontBitmaps binding 2025-08-30 18:31:46 +02:00
Jon Lipstate
94e1f30ebb fix typo in CLSIDFromProgIDEx signature 2025-08-29 14:35:34 -07:00
Wrath
b6a0606c98 Added getaddrinfo flags 2025-08-12 19:59:38 -04:00
gingerBill
7642e0a0e0 Require @(init) and @(fini) to be proc "contextless" () 2025-08-08 12:10:01 +01:00
gingerBill
e049dde582 Fix tests for UTF-16 strings 2025-08-02 13:01:58 +01:00
gingerBill
c631a8eff5 os2 internals -> (c)string16 2025-08-02 12:47:03 +01:00
gingerBill
bb4bc316a4 for in string16; Support string16 across core 2025-08-02 12:20:35 +01:00
connnnal
f6993a8205 Add IUnknown UUID 2025-07-17 05:00:20 +01:00
Jeroen van Rijn
e89abd006f Fix #5452 2025-07-11 15:29:27 +02:00
Jamie Dennis
ee9b4f767b Fix incorrect type for FONTENUMPROCW 2025-07-01 15:31:22 +12:00