aboutsummaryrefslogtreecommitdiff
path: root/core/sys/windows/kernel32.odin
Commit message (Collapse)AuthorAgeFilesLines
* Change `stdcall` -> `system`gingerBill2024-01-171-20/+20
|
* Merge pull request #2952 from Pingar5/masterJeroen van Rijn2023-11-241-1/+12
|\ | | | | Add various missing windows procedures
| * Add various missing windows proceduresBrennen Shaughnessy2023-11-221-1/+12
| |
* | Add WaitFor* Ex variantsjakubtomsu2023-10-281-0/+8
|/
* [core:sys/windows] Added SuspendThreadhikari2023-09-081-0/+1
|
* [core:sys/windows] Added couple of procedureshikari2023-09-071-0/+14
|
* Require parentheses for `#align(N)`gingerBill2023-08-151-1/+1
|
* Adhere to `-vet-style`gingerBill2023-08-081-3/+3
|
* Add CopyFileWryuukk2023-07-101-0/+5
|
* Fix #2518gingerBill2023-05-181-1/+2
|
* correct errorsJon Lipstate2023-04-051-1/+1
|
* Merge pull request #2423 from jon-lipstate/wsapollJeroen van Rijn2023-04-051-0/+13
|\ | | | | Winsock updates, iocp calls
| * repaired autoformatterJon Lipstate2023-04-041-246/+663
| |
| * Revert "remove keyedevent"Jon Lipstate2023-04-041-0/+2
| | | | | | | | This reverts commit 219343f3c0e1bdf6130af5d07baa6c929379dfe1.
| * remove duplicateJon Lipstate2023-04-041-665/+242
| |
| * add non Ex variantJon Lipstate2023-04-041-0/+2
| |
| * remove keyedeventJon Lipstate2023-04-041-2/+0
| |
| * iocp supportJon Lipstate2023-04-041-0/+17
| |
* | Add creation, thread priority, and copy file flags.Elusive Porpoise2023-04-031-0/+66
| |
* | Add GetStartupInfoW. Rename StartupInfo to StartupInfoW.Elusive Porpoise2023-04-031-1/+2
|/
* Add SetConsoleCursorInfo and GetConsoleCursorInfo to sys/windows packageChristian Seibold2023-03-181-0/+2
|
* add SetConsoleOuputCPElusive Porpoise2023-03-151-1/+2
|
* Merge pull request #2314 from SentientCoffee/pr/win32_console_text_attributesgingerBill2023-03-041-0/+19
|\ | | | | Add win32 SetConsoleTextAttribute for setting cmd prompt colors
| * Add win32 SetConsoleTextAttributes for setting cmd prompt colorsDaniel2023-01-251-0/+19
| |
* | Added missing Windows functions for console manipulationJeppe Skov2023-02-281-0/+3
| | | | | | | | This commit adds several missing types and functions to the Windows implementation to enable manipulation of console windows. The types added include 'SMALL_RECT', 'CONSOLE_SCREEN_BUFFER_INFO', and 'PCONSOLE_SCREEN_BUFFER_INFO'. The functions added include 'GetConsoleScreenBufferInfo', 'SetConsoleScreenBufferSize', and 'SetConsoleWindowInfo'. These functions were necessary to properly manage the console window.
* | FindFirstChangeNotification series of callsElusive Porpoise2023-02-271-0/+7
|/
* more windows kerfuffleColin Davidson2023-01-061-1/+1
|
* fix more things?Colin Davidson2023-01-051-1/+1
|
* fix windows structsColin Davidson2023-01-051-7/+10
|
* name raw unionColin Davidson2023-01-051-10/+11
|
* use raw_union?Colin Davidson2023-01-051-1/+1
|
* add get core countColin Davidson2023-01-051-0/+44
|
* sys/windows: add CreateWaitableTimerExWhikari2022-12-021-0/+6
|
* Heavily improve time handling on Windows for `time.now()` and `os.File_Info`gingerBill2022-10-261-0/+10
|
* Fix typogingerBill2022-10-261-1/+1
|
* Add `GetSystemTimePreciseAsFileTime`gingerBill2022-10-261-0/+1
|
* sys/windows: add free disk space function bindinghikari2022-10-101-0/+7
|
* Add a few Fiber functions to kernel32.odinmatias2022-10-031-1/+12
| | | This is not the complete set, but a start.
* [sys/windows] Add DCB structure, SetCommState, GetCommStateTetralux2022-09-221-0/+144
| | | | | | | | | | | | | | | | | | | | | These are the procedures for configuring a serial port. You simply open the port with CreateFile (os.open), followed by a call to GetCommState, setting the DCB as desired, followed by a SetCommState call. The DCB structure uses C bitfields, so a configuration struct is provided along with a helper procedure to make it easier to initialize in Odin code. This makes it possible to initialize a DCB structure with one call to the helper: ``` dcb: DCB windows.init_dcb_with_config(&dcb, { BaudRate = 115200, ByteSize = 8, Parity = .None, StopBits = .One, }) ``` (The parity and the stopbits are actually optional in this example, as their zero-values are None and One, respectively.)
* Merge branch 'master' into sysinfoJeroen van Rijn2022-09-011-16/+24
|\
| * Kernel32: Add more window bindings and improve consistencyLucas Perlind2022-09-011-14/+22
| |
* | [sys/info] Initial version.Jeroen van Rijn2022-09-011-0/+18
|/
* Correct Try SRWLock related procedures to return `BOOLEAN` rather than `BOOL`gingerBill2022-08-221-2/+2
|
* Change LPCSTR to LPCWSTR in windows _W proceduresJimmy "Keeba" Lefevre2022-06-271-2/+2
|
* sys/windows: add registry functions and create winerror.odinhikari2022-06-031-1/+0
|
* fix git dummy movejason2022-05-161-2/+1
|
* merge from upstream and convert to ^File typesjason2022-05-161-4/+62
|\
| * Remove `A` calls in favour of `W` callsgingerBill2022-05-121-1/+2
| |
| * Add more librariesgingerBill2022-05-121-1/+2
| |
| * Update sys/windows to be closer to the soon to be deleted sys/win32gingerBill2022-05-121-3/+1
| |