Commit Graph

749 Commits

Author SHA1 Message Date
Michaël Van Canneyt
545db4a070 * Extend GetLocalTimeOffset to return Dst or not 2025-02-19 17:31:01 +01:00
marcoonthegit
f429dab7b3 * fix from #41053. Add cc_anycolor 2024-12-09 22:54:32 +01:00
marcoonthegit
83cc5be952 * remove functions commented in the commdlg/ctl spinoff of 2008 2024-11-27 23:06:26 +01:00
marcoonthegit
1ccc23fa70 * SetFilePointerEx, requested on forum. 2024-11-07 12:23:30 +01:00
marcoonthegit
4affa41a43 * and redef with int64 typing 2024-11-06 16:51:06 +01:00
marcoonthegit
715e727dc3 * add getfilesizeex as per 440BX' request. 2024-11-06 16:51:06 +01:00
Rika Ichinose
0015657342 Simplify GetFileVersion. 2024-10-09 19:55:58 +00:00
Margers
abdbe4065b Typo in comment (windirs unit) 2024-10-09 19:49:53 +00:00
Rika Ichinose
1ecd60e90d Align Win64 CONTEXT to 16 bytes. 2024-09-22 07:57:00 +00:00
Rika Ichinose
3183902868 Import tlhelp32.h functions. 2024-09-22 07:55:12 +00:00
Rika Ichinose
b480979c53 Import TzSpecificLocalTimeToSystemTime. 2024-09-05 21:18:25 +03:00
Rika Ichinose
d7352e7b66 Remove most of the VER3_0 conditionals. 2024-08-25 09:44:11 +00:00
Michaël Van Canneyt
025ad39ef0 * Do not raise exception 2024-08-08 10:15:45 +02:00
marcoonthegit
bf4d68f96d * missing ^ in pointer declaration. 2024-07-25 11:50:59 +02:00
Pierre Muller
b1f0c504cc Fix wince compilation using FPC_HAS_SYSRELOCATETHREADVAR_ASM macro.
Replaces merge request !705
2024-07-09 17:43:58 +02:00
Rika Ichinose
8d12774d3b Don’t cache process ID. 2024-07-01 19:26:01 +00:00
Rika Ichinose
c68788e03e Low-level optimistic implementations of SysRelocateThreadvar that directly read TEB. 2024-06-30 12:27:29 +00:00
marcoonthegit
7957c34940 * change tthreadid to thandle, as the used functions for threadid in systhrd all use HANDLE. 2024-05-25 17:51:56 +02:00
marcoonthegit
492893a935 * add some NUMA information functions mentioned in forum 2024-05-25 13:40:08 +02:00
Rika Ichinose
4383aab15a Fix off-by-one error in syswin.inc:setup_arguments. 2024-05-21 17:57:56 +00:00
Rika Ichinose
41ae52dde1 Import Heap* functions on WinCE. 2024-05-05 20:10:45 +00:00
Rika Ichinose
fed9c609e8 Calculate the amount of ansichars in argv with one call to WideCharToMultiByte. 2024-05-01 20:17:52 +00:00
Rika Ichinose
6489b6fc36 Shorten win/systhrd.inc; fix SetThreadStackGuarantee signature. 2024-05-01 19:57:16 +00:00
marcoonthegit
9e101c51e3 * added GetGUIThreadInfo reported on the forum 2024-04-29 13:24:54 +02:00
Rika Ichinose
3cfec5e6a4 Allocate argvs at once. 2024-04-27 16:49:25 +00:00
marcoonthegit
5120a3a0c3 * dc_pen and dc_brush in getstockobject section, reported on forum 2024-04-08 11:56:26 +02:00
Michaël Van Canneyt
b3800d38cb * Handle potential double defintion of INFINITE 2024-02-24 19:52:00 +01:00
Sven/Sarah Barth
244d3df869 * make Lazarus' CodeTools happy 2024-02-09 15:10:31 +01:00
Sven/Sarah Barth
75b5e8e63d * fix #40603:
- initialize thrdinfo record using Default() so that padding bytes are zeroed as well
  - correctly pass the count of ULONG_PTRs
2024-02-09 15:08:27 +01:00
Rika Ichinose
48815baef6 Load oleaut32.dll for widestrings on demand.
Most of the applications don’t and shouldn’t use widestrings, as unicodestrings are superior.
2024-01-26 22:09:41 +00:00
florian
acb6c7f36b * win64 has always SetThreadStackGuarantee 2024-01-26 21:42:26 +01:00
Rika Ichinose
a774075f2f Support Windows XP where SetThreadStackGuarantee is absent. 2024-01-26 16:57:49 +03:00
florian
a2f2af87d2 * Windows CE does not support SetThreadStackGuarantee 2024-01-25 22:06:13 +01:00
florian
14ab1cfb71 * set stack margin on windows, so there is stack space left for exception handling in case of a stack overflow, resolves #40589 2024-01-24 21:31:03 +01:00
Sven/Sarah Barth
38ca4f9157 * remove semicolon to make Lazarus happy 2024-01-15 22:29:47 +01:00
Pierre Muller
f510e6f59b Use GetProcAddress to set GetFinalPathNameByHandle function pointer 2024-01-06 17:54:21 +01:00
Michaël Van Canneyt
ff8511f2f1 * Define INVALID_HANDLE_VALUE for Delphi compatibility 2023-11-29 15:03:12 +01:00
marcoonthegit
b6999496a7 * add pointer variant fo createconsolescreenbuffer, move old VAR definition to redef for compat. 2023-11-09 14:17:14 +01:00
marcoonthegit
6b7afc6b08 * added some winnls constants. Reworked locale_ and cal_ constants for easier maintenance. 2023-10-15 12:22:12 +02:00
marcoonthegit
e084d3259f * fix win32,win64 parts, fixes #40439. All records to under pshpack4 in header. 2023-09-16 15:41:48 +02:00
Michael VAN CANNEYT
ccfa38c68e * Dotted RTL compiles 2023-07-27 19:04:03 +02:00
Michael VAN CANNEYT
6cc315d4da * Fix compilation with unicodertl 2023-07-24 15:38:09 +02:00
Michael VAN CANNEYT
b5dd1f9beb * Fix windows compilation 2023-07-24 15:38:09 +02:00
Michael VAN CANNEYT
78374bf772 * Synchronize API for AnsiString/Unicode string, keep string where possible. 2023-07-24 15:38:09 +02:00
Rika Ichinose
62bc640306 Also prevent SyncObjs.THandleObject.WaitForMultiple from unconditionally linking to ole32.dll. 2023-07-20 11:52:26 +03:00
Rika Ichinose
943b88e3da Delay-load CoWaitForMultipleHandles to not force the dependency on ole32.dll. 2023-07-20 06:14:39 +00:00
Michael VAN CANNEYT
e50d90b7e9 * string -> shortstring 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
32d55bb0ea * String -> AnsiString 2023-07-14 17:26:11 +02:00
Michael VAN CANNEYT
706e090457 * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
marcoonthegit
f1fcdcfbc3 * Switched from waitformultiple objects to -handles for xp/w7 compat, closes 40297 2023-06-14 14:22:08 +02:00