Katayama Hirofumi MZ
8ea93d2ab2
[REACTOS] Standardize <imm.h> and <immdev.h> ( #6493 )
...
Improve header compatibility and
code quality.
JIRA issue: CORE-19268
- Improve <imm.h> and <immdev.h>
compatibility by correctly choosing
the items.
- Use <immdev.h> instead of
<ddk/immdev.h>.
- Move INPUTCONTEXTDX, IMEINFOEX,
IMEDPI, and CLIENTIMC into
<imm32_undoc.h>.
- Adapt to these changes.
2024-02-13 20:33:14 +09:00
Serge Gautherie
2c895c986f
[CMAKE][WIN32U_APITEST] Remove 3 useless 'set_module_type(... IMAGEBASE default)' ( #6328 )
...
And add an explicit documentation comment.
Addendum to commit 2b7246fd3
.
2024-01-14 16:07:00 +01:00
Timo Kreuzer
d52b70a73e
[NTDLL_APITEST] Add test for x86 RtlUnwind
2024-01-13 19:39:23 +02:00
Timo Kreuzer
4c9037fff1
[CRT_APITEST] Fix some Vista+ tests
2024-01-13 15:15:47 +02:00
Thomas Faber
286d460b45
[CRTDLL_APITEST] Oops. Fix that other compiler. CORE-16933
2024-01-12 12:58:27 -05:00
Thomas Faber
c8aba5a172
[CRT_APITEST] Add tests for _mbsncmp and _mbsstr. CORE-16933
2024-01-12 12:36:43 -05:00
Mark Jansen
e8f9564c20
[NTDLL_APITEST] Add test for RtlGetProcessHeaps
2023-12-17 22:28:40 +01:00
Whindmar Saksit
82c07abf1a
[USER32] Support loading icons from data file module ( #6065 )
...
GetModuleFileName() fails on LOAD_LIBRARY_AS_DATAFILE causing LoadImage to fail.
Use a fake filename for LR_SHARED (with same format as Windows).
This may not be a good design, but it does match Windows' behaviour.
+ Added test.
2023-12-17 22:11:50 +01:00
Katayama Hirofumi MZ
4bccb6e6c9
[SHELL32][SDK][SHELL32_APITEST] Add PathIsTemporaryA/W ( #6067 )
...
- Implement PathIsTemporaryA and
PathIsTemporaryW functions.
- Add them to <undocshell.h>.
- Add PathIsTemporary testcase.
CORE-19278
2023-12-02 23:07:28 +09:00
Katayama Hirofumi MZ
2aeda3dc15
[SHELL32][SHELL32_APITEST][SDK] Implement PathIsEqualOrSubFolder ( #5714 )
...
Implement PathIsEqualOrSubFolder function.
- Add it to <undocshell.h>.
- Add PathIsEqualOrSubFolder testcase.
- Add SHGetPathCchFromIDListW as an
extension of SHGetPathFromIDListW.
CORE-19278
2023-11-29 22:50:01 +09:00
Doug Lyons
c00d41d91c
[USER32_APITEST] Add test for bad 'Icon Groups' but good 'Icons' such as F1'97 ( #6020 )
...
Add test for bad 'Icon Groups' but good 'Icons' such as created
by old versions of Watcom C/C++
That icon shows fine in Windows Explorer WinXP/Win2K3,
but does not show in WinVista/Win7 anymore.
A very special corner case.
We will commit the proposed fix shortly after committing the new test.
2023-11-26 15:26:05 +00:00
Katayama Hirofumi MZ
f3bd8ffb20
[GDI32_APITEST] Strengthen PatBlt with negative values
...
CORE-19334
2023-11-26 15:31:00 +09:00
Hermès Bélusca-Maïto
6cdaad13bd
Add missing OEMRESOURCE for using the OBM_, OIC_, OCR_ defines from winuser.h
...
Fix build by commit 072965eb0
for modules:
EXPLORER, COMCTL32, IERNONCE, URLMON, USER32_(API|WINE)TESTS
Note that some of these modules (from Wine) already have the OEMRESOURCE
defined; however, only in one of their files. But we have added
precompiled headers for them where we have included either windows.h
or winuser.h in them, without OEMRESOURCE. The result is, that when
compiling these modules with PCH support, the OEMRESOURCE define was
_not_ satisfied and thus, compile errors arose.
Fix this by adding #define OEMRESOURCE before the windows headers also
in the precompiled headers we have added for these modules.
2023-11-22 17:02:45 +01:00
Serge Gautherie
a5c3bb5bce
[WIN32KNT_APITEST] 2 minor code improvements and a first fix ( #5980 )
...
- Update .rc filename; addendum to 7ad21a4
(r70458).
- Move one '#include "resource.h"' around to where it is needed.
Addendum to e1b2e7a
(r29284) then ec5e0ea
(r48103).
- Adjust all '#include <win32nt.h>'
2023-11-16 21:57:10 +01:00
George Bișoc
1d8ce79080
[NTDLL_APITEST] Write some tests for NtSetDefaultLocale
2023-11-16 21:09:08 +01:00
Serge Gautherie
7901a4c8fe
[WIN32KNT_APITEST] w32knapi.c: Update dll name ( #5977 )
...
Addendum to commits 7ad21a4
(r70458) and bed6d00
(r76026).
2023-11-14 12:14:39 +01:00
Serge Gautherie
8d54c2d433
[WIN32U_VISTA] .def: Delete this obsolete file ( #5931 )
2023-11-13 11:01:31 +01:00
Timo Kreuzer
2b7246fd3c
[CMAKE] Add support for "IMAGEBASE default" and use it for test/sample dlls
2023-11-10 19:20:24 +02:00
Timo Kreuzer
a3d22bba1a
[RTL_APITEST] Move RtlIntSafe test from kmtest to rtl_apitest
2023-11-10 19:00:41 +02:00
Timo Kreuzer
bdf52a9868
[RTL_APITEST] Add rtl_unittest
...
First test is RtlCaptureContext
2023-11-10 19:00:41 +02:00
Timo Kreuzer
520cf2294d
[APITESTS] Share ok_eq_* macros between apitests and kmtests
...
This makes it possible to share sources between kmtest and apitests, e.g. for rtl.
2023-11-10 19:00:41 +02:00
Hermès Bélusca-Maïto
bdae8cf966
[SHLWAPI_APITEST] Fix MSVC compilation warning C4309
...
SHPropertyBag.cpp(161): warning C4309: 'initializing': truncation of constant value
See https://stackoverflow.com/questions/33333448/warning-c4309-what-does-it-mean-and-can-it-be-ignored-in-this-case
for some details.
2023-10-28 18:19:04 +02:00
Katayama Hirofumi MZ
8669679499
[ATL][ATL_APITEST] Add some missing CRect methods ( #5800 )
...
- Strengthen "atltest.h".
- Strengthen atl_apitest:atltypes testcase.
- Implement some missing CRect methods.
2023-10-16 21:57:57 +09:00
Hermès Bélusca-Maïto
2a5fd78f1b
[APPHELP_APITEST] Fix build, addendum to commit a8755711b
2023-10-05 21:32:38 +02:00
Hermès Bélusca-Maïto
a8755711b9
[APPHELP_APITEST] Deduplicate the IsUserAdmin() helper.
2023-10-05 20:58:57 +02:00
George Bișoc
fefb1b7745
[NTDLL_APITEST] Write NtAccessCheck testcase that tests for empty generic mapping scenario
...
See b79aadd50bb7d5d6f08532284941c0334514c477 for further information.
2023-10-04 18:04:29 +02:00
Doug Lyons
1b3eed58ca
[SHELL32] Fix for shlexec.cpp regressions ( #5282 )
...
fixes CORE-18967 'Taskbar toolbar - Right click > Open folder fails'
by restoring the code-path we removed with the guilty
0.4.15-dev-3847-g /9b716539182864bc077e362febcda74da50287ed
and add test_sei_lpIDList to shell32:ShellExecuteEx apitest test to protect
that functionality on future attempts to simplify.
2023-09-24 20:35:28 +00:00
Katayama Hirofumi MZ
6c55a3aa2a
[SHELL32][SHELL32_APITEST][SDK] Implement Int64ToString ( #5706 )
...
- Implement Int64ToString and LargeIntegerToString functions.
- Add Int64ToString and LargeIntegerToString prototypes to <shellundoc.h>.
- Add Int64ToString testcase.
- I found a bug in GetNumberFormat.LeadingZero.
http://undoc.airesoft.co.uk/shell32.dll/Int64ToString.php
http://undoc.airesoft.co.uk/shell32.dll/LargeIntegerToString.php
2023-09-21 09:14:40 +09:00
Katayama Hirofumi MZ
ebfec38cd1
[ATL][ATL_APITEST] Independent ReactOS ATL (RATL) support ( #5657 )
...
This is an attempt to make ReactOS ATL (RATL) independent.
https://github.com/katahiromz/RATL
CORE-19153
2023-09-20 12:02:33 +09:00
Katayama Hirofumi MZ
ff5ccb5948
[SHLWAPI][SHLWAPI_APITEST] Fix SHGetPerScreenResName ( #5701 )
...
Use HORZRES and VERTRES instead of SM_CXFULLSCREEN and SM_CYFULLSCREEN.
CORE-9283
2023-09-19 11:02:59 +09:00
Katayama Hirofumi MZ
08cc45eef9
[ATL_APITEST] atlconv: Disable corner case test of CWAEX
2023-09-19 10:45:46 +09:00
Katayama Hirofumi MZ
1da71e2519
[SHDOCVW][SHDOCVW_APITEST] Implement MRU List for Shell Bag, Part 6 ( #5699 )
...
Follow-up to #5691 . Strengthen shdocvw_apitest
testcase. Fix CLSID_MruPidlList class.
CORE-9283
2023-09-18 20:13:29 +09:00
Ratin Gao
4c8a2a8815
[KERNEL32][KERNEL32_APITEST] Implement user-mode UEFI / Firmware API ( #5149 )
...
- Implement firmware environment variable read/write APIs
- Add, fix and improve related definitions and declarations
- Add kernel32:UEFIFirmware apitest
CORE-11954
2023-09-14 22:14:07 +03:00
Katayama Hirofumi MZ
1961d708e7
[SHDOCVW][SHDOCVW_APITEST] Implement MRU List for Shell Bag, Part 3 ( #5646 )
...
Follow-up to #5634 .
- Implement CMruBase::_UseEmptySlot.
- Implement CMruLongList and CMruShortList.
- Add CMruClassFactory class and modify
DllGetClassObject function by using it.
- Add shdocvw_apitest.exe.
CORE-9283
2023-09-12 06:01:09 +09:00
Timo Kreuzer
7497f028f4
[KERNEL32_APITEST] Improve InitOnce test
2023-09-10 14:58:54 +03:00
Timo Kreuzer
6286475d71
[KERNEL32_APITEST] Fix stack corruption in InitOnce test on x64
2023-09-10 14:58:54 +03:00
Katayama Hirofumi MZ
97b64c45c6
[ATL][ATL_APITEST] CImage testcase should cover all formats ( #5653 )
...
Strengthen CImage testcase and improve CImage class.
ROSTESTS-387, CORE-19008
2023-09-09 08:42:55 +09:00
Timo Kreuzer
1d59cf43af
[NTDLL_APITEST] Add tests for critical sections
2023-09-07 08:36:48 +03:00
Ratin Gao
f491d7cc99
[KERNEL32][RTL] Implement One-Time initialization API and improve RTL support ( #5046 )
...
* [KERNEL32][RTL] Implement One-Time initialization API and improve RTL support
2023-09-06 15:40:53 -07:00
Katayama Hirofumi MZ
b68a3f329c
[ATL][ATL_APITEST] Implement CImageDC class ( #5643 )
...
- Use reference count for CImage::GetDC / CImage::ReleaseDC.
- Add CImageDC class.
- Delete modules/rostests/apitests/atl/CImage_WIP.txt.
CORE-19008
2023-09-05 09:03:32 +09:00
Katayama Hirofumi MZ
58770200e7
[SHDOCVW][SDK][COM_APITEST] Implement MRU List for Shell Bag, Part 1 ( #5626 )
...
- Add mrulist.cpp source file.
- Add CMruBase, CMruLongList, CMruNode,
and CMruPidlList classes with stub functions.
- Add CLSID_MruPidlList and CLSID_MruLongList.
- Add IMruDataList interface into <shlobj_undoc.h>.
- Add IID_IMruDataList and CLSID_MruLongList
definitions into <shlguid_undoc.h>.
CORE-9283
2023-08-31 09:35:00 +09:00
Stanislav Motylkov
017004a0ac
[KERNEL32_APITEST] FindFiles: Add tests for *Ex functions
...
Shows that `lpSearchFilter` pointer is being ignored on Windows.
This is for @RatinCN's PR #5592 .
2023-08-27 00:48:26 +03:00
Katayama Hirofumi MZ
32669f6caa
[SHLWAPI][SHLWAPI_APITEST][SDK] Implement SHGetPerScreenResName ( #5616 )
...
CORE-9283
2023-08-26 16:46:51 +09:00
Egor Ananyin
26ffe2f826
[USER32_APITEST] Add a test for system menu messages ( #5573 )
...
Based on msg.c Wine test. CORE-19061
2023-08-24 16:33:03 +02:00
George Bișoc
8a61e1c33c
[NTDLL_APITEST] Write tests for NtAccessCheckByTypeResultList
2023-08-22 17:54:19 +02:00
George Bișoc
fd2e4437a8
[NTDLL_APITEST] Write tests for NtAccessCheckByType
2023-08-22 17:54:19 +02:00
Katayama Hirofumi MZ
fec935ec24
[COM_APITEST] shdocvw: Add CLSID_MruPidlList ( #5602 )
...
CORE-9283
2023-08-22 23:07:46 +09:00
Katayama Hirofumi MZ
a2d8e464c8
[SHLWAPI][SDK][SHELL32_APITEST][SHLWAPI_WINETEST] Property Bag on Desktop Upgrade ( #5590 )
...
- Add CDesktopUpgradePropertyBag class.
- Implement SHGetDesktopUpgradePropertyBag
function.
CORE-9283
2023-08-22 12:01:20 +09:00
Katayama Hirofumi MZ
56d95154ee
[SHLWAPI][SHLWAPI_APITEST][SDK] INI file property bag ( #5546 )
...
- Add SHGetIniStringUTF7W and SHSetIniStringUTF7W functions.
- Add CIniPropertyBag class.
- Implement SHCreatePropertyBagOnProfileSection function.
CORE-9283
2023-08-19 11:22:55 +09:00
Katayama Hirofumi MZ
80153fc686
[ATL_APITEST][SDK] Fix failures of CImage testcase ( #5567 )
...
- Improve compatibility of CImage.
- Improve CImage testcase of atl_apitest.
- Improve CImage::BuildCodecFilterString.
CORE-19008
2023-08-18 20:34:33 +09:00