Commit Graph

305 Commits

Author SHA1 Message Date
marcoonthegit
5120a3a0c3 * dc_pen and dc_brush in getstockobject section, reported on forum 2024-04-08 11:56:26 +02: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
706e090457 * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
marcoonthegit
f0debbe649 * change HDEVNOTIFY to lpvoid/pointer instead of thandle 2023-05-29 13:32:44 +02:00
marcoonthegit
67eac52f07 * RegisterDeviceNotification 2023-05-28 21:37:54 +02:00
marcoonthegit
f4155dc710 * movefile_* consts expanded 2023-05-28 15:47:49 +02:00
marcoonthegit
e9352b4894 * use predefined pointer types from system as much as possible. This avoids trouble between objpas.pinteger and windows.pinteger in generics. (if windows is only in implementation). 2023-05-28 12:40:49 +02:00
Michaël Van Canneyt
513b02f3fd * Add overload, so system unit version of interlocked* calls is also found. Fixes issue #40283 2023-05-23 12:14:22 +02:00
Ondrej Pokorny
86c4b160e2 add all peflags 2023-02-13 21:41:54 +00:00
marcoonthegit
2ac86ab662 * some extra constants and added typing to setexecutionstate 2023-02-06 14:04:46 +01:00
marcoonthegit
4871ad4707 * SetThreadExecutionState 2023-02-03 10:34:57 +01:00
marcoonthegit
cfc77315ca * getlongpath as per https://forum.lazarus.freepascal.org/index.php/topic,60972.0/topicseen.html 2022-11-10 10:42:11 +01:00
marcoonthegit
53d745962f * also add other threadpool functions 2022-08-09 11:27:23 +02:00
marcoonthegit
fd179a61f9 * give pthread_start_routine a proper Delphi compat prototype.
* add Delphi alias for callback.
 * add queueuserworkitem
 * add name clause GetDateFormatEx

closes #39852
2022-08-09 09:59:42 +02:00
marcoonthegit
db9375d23f * add GetDateFormatEx, from bug #35118 by 440bx 2022-05-22 12:37:58 +02:00
Michaël Van Canneyt
6f6a003414 * Patches from Pascal Riekenberg, some small corrections 2022-05-13 08:52:42 +02:00
marcoonthegit
dcb3906741 * typo fix in last commit. 2022-04-27 16:47:15 +02:00
marcoonthegit
b42bc966ac * fix bit setting macros in windows unit. Should fix bug #39272.
(bit setting only allowed setting bits to one, not zero, and not added).
2022-04-27 15:21:15 +02:00
marco
98d35bb8cb * redo psd constants, mantis #39022
git-svn-id: trunk@49565 -
2021-06-26 18:36:37 +00:00
marco
787798e96f * split propsheetheader in -A and -W variants.
git-svn-id: trunk@49101 -
2021-04-02 14:54:40 +00:00
ondrej
3f605a5b50 win rtl: load GetTimeZoneInformationForYear dynamically. Issue #38192
git-svn-id: trunk@47817 -
2020-12-19 11:57:58 +00:00
marco
b06727d8af * remove windows.pboolean, mantis #38019
git-svn-id: trunk@47275 -
2020-11-01 19:59:58 +00:00
ondrej
0d08b98d47 GetLocalTimeOffset: DateTime-aware overloads (Windows supported, Unix is a ToDo). Issue #35710
git-svn-id: trunk@47206 -
2020-10-26 12:29:18 +00:00
marco
3c467f7cc5 * added some image_dllcharacteristics flags + removed some hard tabs.
git-svn-id: trunk@44724 -
2020-04-15 10:09:55 +00:00
marco
cf0bf230c5 * ifdef _win64 -> win64. Patch by Marcin. Possibly headers converted
when windows 64-bit existed, but without direct usage knowledge.
   Should be in final 3.2.0

git-svn-id: trunk@44258 -
2020-03-03 11:04:54 +00:00
marco
bcabeb36a1 * another input fix.
git-svn-id: trunk@42996 -
2019-09-14 15:28:55 +00:00
marco
14d92d9ece * declaring an identifier "INPUT" is never wise. Thanks Marcus.
git-svn-id: trunk@42995 -
2019-09-14 15:27:46 +00:00
marco
3bae3a4aa4 * input related functions and structs, based on Mantis #35064
git-svn-id: trunk@42994 -
2019-09-14 13:11:55 +00:00
marco
01bc1ed80e * fix for mantis #36064, pack printdlg only ifndef win64
git-svn-id: trunk@42976 -
2019-09-12 07:50:34 +00:00
marco
1c583d3e0d * getguiresources + constants, mantis 035546 by 440bx
git-svn-id: trunk@42030 -
2019-05-10 15:21:32 +00:00
marco
6a6436c076 * RealChildWindowFromPoint, mantis 035552 by 440bx
git-svn-id: trunk@42029 -
2019-05-10 15:14:46 +00:00
marco
d80d564a20 * realgetwindowclass, mantis 035551
git-svn-id: trunk@42028 -
2019-05-10 15:11:48 +00:00
marco
d942509db4 * add getshellwindow, by 440bx mantis 035548
git-svn-id: trunk@42027 -
2019-05-10 14:56:09 +00:00
marco
eae156d07e * fix for mantis 035530 by 440bx, process_ and thread_ constants.
git-svn-id: trunk@42013 -
2019-05-06 15:48:11 +00:00
marco
caa5e54b00 * add openthread, mantis 035529 by 440bx
git-svn-id: trunk@42008 -
2019-05-06 11:33:40 +00:00
marco
8a23e813ca * GetPhysicallyInstalledSystemMemory mantis 035439 by 440bx
git-svn-id: trunk@41930 -
2019-04-25 09:06:23 +00:00
marco
982bef0ed8 * iswow64present and enable*fsredirection with a byte as param because the BOOLEAN type is a byte according to MSDN. Mantis 035429
git-svn-id: trunk@41926 -
2019-04-23 07:50:12 +00:00
marco
573666405d * wow64 related functions from mantis 034328
git-svn-id: trunk@41925 -
2019-04-22 19:51:41 +00:00
marco
75cdae9836 * add uint typecast to some negative message numbers Mantis 035324
git-svn-id: trunk@41922 -
2019-04-22 09:42:44 +00:00
marco
febb1aab0b * IsDebuggerPresent, bug #35422
git-svn-id: trunk@41921 -
2019-04-21 18:12:57 +00:00
marco
7acd242683 * PROCESS_QUERY_LIMITED_INFORMATION, mantis 35423
git-svn-id: trunk@41920 -
2019-04-21 18:10:12 +00:00
marco
afa6aaab95 * PROCESS_NAME_NATIVE constant
git-svn-id: trunk@41919 -
2019-04-21 18:06:09 +00:00
marco
6559033d2d * QueryFullProcessImageName
git-svn-id: trunk@41918 -
2019-04-21 18:00:24 +00:00
marco
28c15a95d5 * Mantis 35257 modifyworldtransform, defined with var parameter could also take NIL. Split into straight pointer + redef var overload.
git-svn-id: trunk@41893 -
2019-04-18 09:00:42 +00:00
marco
07c21e5128 * and the setters.
git-svn-id: trunk@41892 -
2019-04-17 16:01:50 +00:00
marco
e9c2f46172 * fix mantis 35368 and mantis 35369
git-svn-id: trunk@41891 -
2019-04-17 15:57:05 +00:00
marco
0d87116b81 * add MB_CANCELTRYCONTINUE and MB*MASK constants. mantis 35244
git-svn-id: trunk@41861 -
2019-04-11 08:11:31 +00:00