Commit Graph
3796 Commits
Author SHA1 Message Date
Justin Miller 5cef1f68e3 [SDK] kernelbase SDK changes 2026-06-24 15:27:43 -07:00
Katayama Hirofumi MZ 546297fe86 [SHELL32][SHLWAPI][BROWSEUI][SHELL32_APITEST][SDK][KBSWITCH][RAPPS] Support SHEvaluateSystemCommandTemplate (#9111)
This function has an important role
for new ShellExecute implementation.
JIRA issue: CORE-19278
- Add evalcmd static library into
  dll/win32/shell32/evalcmd.
- Implement
  SHEvaluateSystemCommandTemplate
  in evalcmd.
- Link evalcmd to shell32 and shlwapi.
- Modify shell32.spec and shlwapi.spec.
- Add prototype to <shellapi.h>.
- Add
  SHEvaluateSystemCommandTemplate
  testcase.
- Define PathIsAbsolute inline
  function in <shlwapi_undoc.h>
  and use it.
2026-06-24 20:35:37 +09:00
Timo Kreuzer a790beb22b [SHELL32] Fix SHBindToObject
This should have 5 parameters and stdcall convention.
Get rid of SHBindToObjectEx.
2026-06-23 18:10:39 +00:00
Hermès Bélusca-Maïto d4ba4b464f [NDK] pstypes.h: Remove win32k-specific _W32THREAD/_W32PROCESS forward declarations
These structures weren't used anywhere else in the header.
2026-06-23 19:57:53 +02:00
Hermès Bélusca-Maïto 620222ad28 [NTOS:OB][NDK] Enhancements to ObSetHandleAttributes() and ObpSetHandleAttributes() (#9170)
- Use SAL2 annotations; write Doxygen documentation (based on GPT-5.4 feedback).
- Simplify some of the code.
- Add the `ObSetHandleAttributes()` prototype to `ndk/obfuncs.h`,
  since it is exported by ntoskrnl.exe
2026-06-23 19:52:22 +02:00
Hermès Bélusca-Maïto 37fe06f1c7 [NTOS:OB] Enhancements to NtSetInformationObject() (#9170)
- Simplify the `ObjectHandleFlagInformation` class implementation,
  by directly invoking the `ObSetHandleAttributes()` routine.
  Addendum to commit 02d0bb9dbd (r22228) that implemented the class,
  and to commit 91105c7915 (r61037) that implemented `ObSetHandleAttributes()`.

- Use SAL2 annotations; write Doxygen documentation (based on GPT-5.4
  feedback and https://ntdoc.m417z.com/ntsetinformationobject).
2026-06-23 19:52:21 +02:00
Hermès Bélusca-Maïto cf4dce77c2 [NDK][NTOS:INCLUDE] Minor reshuffling of some functions (#9170) 2026-06-23 19:52:16 +02:00
Timo Kreuzer 5a88b485bb [PSDK] wincrypt.h: Add missing CryptImportPublicKeyInfoEx2 2026-06-23 17:36:26 +00:00
Timo Kreuzer 4e9945c1e0 [PSDK] Sync bcrypt.h to Wine-10.0 2026-06-23 17:36:26 +00:00
Timo Kreuzer 0232efdd19 [NTDLL] Implement LdrGetProcedureAddressEx for NT6 2026-06-21 15:07:00 +00:00
Timo Kreuzer d0b292cda6 [VCSTARTUP] Separate the library from vcruntime
Previously this was mixed with vcruntime, with some objects being shared. But this is messy. Instead use a separate library and link ucrtbase to this as well. This also matches more closely how native libraries are organized, where vcstartup is merged into the CRT import libraries, while vcruntime is merged into the static CRT libraries.
2026-06-21 12:30:32 +00:00
Eric Kohl 4d2238e07a [NETCFGX][REACTOS] Add NetCfgDiagRepairRegistryBindings stub 2026-06-21 10:10:29 +02:00
Eric Kohl ac06652ab6 [NETSH][REACTOS] Basic implementation of PreprocessCommand
Preprocess is used by the 'reset' command in the 'interface ip' command.
2026-06-21 00:59:22 +02:00
Katayama Hirofumi MZ 0533a67b18 [SHLWAPI][SHELL32][SDK] Support SHRestrictedMessageBox (#9160)
Implementing missing features...
JIRA issue: CORE-19278
- Add IDS_RESTRICTED and IDS_RESTRICTIONS
  resource strings.
- Implement SHRestrictedMessageBox function.
- Modify shlwapi.spec.
- Add prototype into <shlwapi_undoc.h>.
- Restrict Folder Options on
  REST_NOFOLDEROPTIONS by using
  SHRestrictedMessageBox.
2026-06-20 09:25:47 +09:00
Timo Kreuzer 269b585eed [SPEC2DEF] Fix a memory leak. 2026-06-19 19:27:29 +00:00
Timo Kreuzer dea50f4746 [SPEC2DEF] Ignore -import flag in spec files
These are used by wine for exports that re-export the import stub function from an import library.
We don't need to do anything here, so simply ignore it.
2026-06-19 19:27:29 +00:00
Timo Kreuzer 7fa69c0f8a [SPEC2DEF] Fix version handling for ordinals
Prevents an error about duplicate ordinals, if 2 entries for different OS versions have the same ordinal.
2026-06-19 19:27:29 +00:00
Timo Kreuzer 628ce75acd [SHCORE] Import from Wine-10.0 2026-06-18 23:27:41 +00:00
Timo Kreuzer 991830a0e8 [CRTHEAP] Add static library for crt heap functions
The purpose is to link to this library for wine modules that use only malloc/free/calloc/_recalloc, so they don't require to be linked to msvcrt.
2026-06-18 23:27:41 +00:00
Katayama Hirofumi MZ b7932431e7 [SDK][SHELL32_APITEST][USER32_APITEST] Update <msgdump.h> to version 21 (#9171)
Modernize development tools.
JIRA issue: N/A
- Update <msgdump.h> to
  version 21.
- Adapt shell32_apitest and
  user32_apitest.
2026-06-17 23:37:30 +09:00
Justin Miller 77d883a64d [SDK] Improve KDNET type headers
Split shared data types into kdnetshareddata.h

CORE-20385
2026-06-15 08:42:50 -07:00
Hervé Poussineau 8bef246a10 [SDK] Implement type header for KDNET and its extensions
CORE-20385
2026-06-15 08:42:50 -07:00
Katayama Hirofumi MZ 9e3a4d5be5 [SHLWAPI][SDK] Support IUnknown_ShowBrowserBar (#9161)
Implementing missing features...
JIRA issue: CORE-19278
- Implement
  IUnknown_ShowBrowserBar
  function.
- Modify shlwapi.spec.
- Add prototype into
  <shlwapi_undoc.h>.
2026-06-15 22:44:46 +09:00
Katayama Hirofumi MZ 1d5d93f05f [SHLWAPI][SHLWAPI_APITEST][SDK] Support MapWin32ErrorToSTG (#9147)
Implementing missing features...
JIRA issue: CORE-19278
- Implement MapWin32ErrorToSTG function.
- Modify shlwapi.spec.
- Add prototype to <shlwapi_undoc.h>.
- Add MapWin32ErrorToSTG testcase.
2026-06-14 11:12:21 +09:00
Katayama Hirofumi MZ 300e1d525d [MSVCRT][CRT][UCRT] Disable intrinsic string functions on MSVC (#9157)
VS2022 version 17.2 and later (`_MSC_VER >= 1932`) added new intrinsic
functions (`strncmp`, `strncpy`, `wcsncmp`, and `wcsncpy`).
As we implement these ourselves, we have to avoid compiler error C2169.

This problem surfaced with a recent GitHub Actions update:
https://github.com/actions/runner-images/issues/14017

Use `#pragma function(...)` to disable new intrinsic functions.
2026-06-13 18:10:15 +03:00
Hermès Bélusca-Maïto c0f1450076 [NDK][XDK][SYSUTILS:PS] Update the KWAIT_REASON enumeration
Validated with the System Informer phnt headers[^1].
Versioning added for Windows 8+ values, from Vergilius[^2].

[^1]: phnt headers and documentation from:
  https://ntdoc.m417z.com/kwait_reason
  https://github.com/winsiderss/systeminformer/blob/5311c5ff7ebe0a900a792730395faf147d4451b9/phnt/include/ntkeapi.h#L49

[^2]: https://www.vergiliusproject.com
2026-06-11 22:40:28 +02:00
Amine Khaldi cd52345fe0 [SDK] wine/test.h: Centralize oleauto.h inclusion to address undefined reference to wine_dbgstr_variant even in modules that don't have automatic test discovery (no testlist.c file). CORE-20606 2026-06-09 20:12:05 +01:00
Timo Kreuzer 4ba2db3c6e [KERNELBASE][PATHCCH] Unhack path.c 2026-06-09 17:40:07 +00:00
Timo Kreuzer 15b446c4de [PSDK] winnls.h: Add some missing definitions 2026-06-09 17:40:07 +00:00
Timo Kreuzer 6d0ff7a62a [PSDK] Add timezoneapi.h and use it from winbase.h 2026-06-09 17:40:07 +00:00
Ahmed Arif 129623416c [SDK][CMAKE] Link libgcc_eh into C++ targets when available
The build uses -nostdlib which prevents GCC from auto-linking libgcc_eh.a. This library provides the SEH unwind symbols (_Unwind_Resume, __emutls_get_address, etc.) needed by C++ exception handling. Without it, any C++ target compiled with -fexceptions fails to link with undefined references to these symbols.

Add a libgcc_eh INTERFACE target that conditionally pulls in libgcc_eh.a when the toolchain provides it (as on SEH-enabled x86_64), falling back to a no-op otherwise (SJLJ/DWARF toolchains).
2026-06-08 16:51:52 +00:00
Carl J. Bialorucki 34bf566dd9 [SYSSETUP][BOOT] Add ReactOS Server Core install type
- Write InstallationType to registry.
- If installing as Server Core, set shell to cmd.exe.
- Rename "Product Option" to "Install Type" and adjust relevant variable names.
- Reserve Nano Server installation type for future use.

JIRA issue: CORE-20645
2026-06-08 10:11:57 -05:00
Whindmar Saksit 3b58b347bc [EXPLORER][SHELL32] Forward Explorer refresh command to the Start Menu (#9108) 2026-06-07 21:28:13 +02:00
Eric Kohl e2d6e875f9 [NETCFGX][REACTOS] Add a second unknown method to the ITcpipProperties interface
This method is called by the 'interface ip set address' command from WinXP ifmon.dll.
2026-06-07 10:19:56 +02:00
Katayama Hirofumi MZ c59ce34030 [SHLWAPI][SHLWAPI_APITEST][SDK] Support SHGetFileDescriptionA/W (#9109)
Implementing missing features...
JIRA issue: CORE-19278
- Implement PrettifyFileDescriptionW, SHGetFileDescriptionA,
  and SHGetFileDescriptionW functions.
- Modify shlwapi.spec.
- Add prototypes into <shlwapi_apitest.h>.
- Add SHGetFileDescription testcase.
2026-06-07 08:17:49 +09:00
Katayama Hirofumi MZ fe5b75083e [SHLWAPI][SHLWAPI_APITEST][SDK] Support NextPathA/W (#9039)
Implementing missing features...
JIRA issue: CORE-19278
- Implement NextPathA and
  NextPathW functions.
- Modify shlwapi.spec.
- Add prototypes into
  <shlwapi_undoc.h>.
- Add NextPath testcase.
2026-06-03 21:38:21 +09:00
Timo Kreuzer c806131675 [RTL][NTDLL] Implement RtlInterlockedPushListSListEx
It is the same function as RtlInterlockedPushListSList, but with stdcall calling convention instead of fastcall.
On x86 this is a wrapper, on all other architectures it is simply a forwarder.
2026-06-02 18:58:04 +00:00
Katayama Hirofumi MZ fe2b8ba41b [SHELL32][SDK] Support CShellDispatch::EjectPC (#9097)
Implementing missing features...
JIRA issue: N/A
- Implement CShellDispatch::EjectPC
  by using TRAYCMD_EJECT tray
  command.
- Add TRAYCMD_SUSPEND and
  TRAYCMD_REFRESH_MENU tray
  commands (they have no effect)
  into <undocshell.h>.
2026-06-02 17:39:56 +09:00
Eric Kohl 7f9e42cfe2 [IPHLPAPI][REACTOS] Implement NhGetGuidFromInterfaceName 2026-05-31 12:27:17 +02:00
Katayama Hirofumi MZ 3b3e1ff997 [SHLWAPI][SHLWAPI_APITEST][SDK] Support QuerySourceCreateFromKey (#9093)
Implementing missing features...
JIRA issue: CORE-20467
- Add querysrc.cpp.
- Add CRegistryEnumValues,
  CRegistryEnumKeys, and
  CRegistrySource classes.
- Implement
  QuerySourceCreateFromKey
  function.
- Add prototype into
  <shlwapi_undoc.h>.
- Modify shlwapi.spec.
- Add QuerySourceCreateFromKey
  testcase.
2026-05-31 17:33:17 +09:00
Katayama Hirofumi MZ f3ca62ae97 [SDK] Enhance <shlobj_undoc.h> more (#9089)
Implementing missing features...
JIRA issue: CORE-20467
- Add IPersistString2,
  IObjectWithRegistryKeyOld, and
  IObjectWithRegistryKey interfaces
  into <shlobj_undoc.h>.
- Add some IIDs into
  <shlguid_undoc.h>.
- Add missing PUREs in
  <shlobj_undoc.h>.
2026-05-30 19:17:15 +09:00
Mikhail Tyukin 678d0e2cda [RSYM] Raise function name limit
Required for importing milcore from WPF as it has symbols exceeding 256 characters
2026-05-29 19:42:25 -04:00
Timo Kreuzer 156d29ae80 [RTL] Fix a 64 bit MSVC warning 2026-05-29 18:21:33 +00:00
Jiahe Wang 5b2f79fe07 [RTL] Fix RtlVirtualUnwind for UWOP_*_FAR, UWOP_EPILOG and UWOP_SPARE_CODE 2026-05-29 13:37:18 +00:00
Katayama Hirofumi MZ 628fc9d463 [EXPLORER][SDK] Implement some tray commands (#9036)
Make our tray window working as
Windows' one.
JIRA issue: CORE-10675
- Add REST_NOCLOSE restriction
  to CTrayWindow::DoExitWindows
  method.
- Add TRAYCMD_EJECT constant
  to <undocshell.h>.
- Implement TRAYCMD_STARTMENU,
  TRAYCMD_EJECT,
  TRAYCMD_CONTROL_PANEL, and
  TRAYCMD_PRINTERS_AND_FAXES
  tray commands.
- Add import to setupapi to use
  CM_Request_Eject_PC function.
2026-05-26 18:40:38 +09:00
Katayama Hirofumi MZ 2290d0e785 [SDK][SYSDM] Enhance <shlobj_undoc.h> for associations (#9064)
Preparation for new ShellExecute.
JIRA issue: CORE-20467
- Move ASSOCQUERY and
  IAssociationElementOld in
  <shlwapi_undoc.h> into
  <shlobj_undoc.h>.
- Add IQuerySourceOld, IQuerySource,
  IObjectWithQuerySource, and
  IAssociationArrayInitialize
  interfaces into <shlobj_undoc.h>.
- Add some GUIDs into
  <shlguid_undoc.h>.
- Do #include <shlwapi_undoc.h>
  in sysdm performance.c to fix build.
2026-05-26 10:55:59 +09:00
Katayama Hirofumi MZ 22ee9d727f [SHLWAPI][SDK] Support SHWindowsPolicyGetValue (#9038)
Implementing missing features...
JIRA issue: CORE-19278
- Add policy.cpp and modify CMakeLists.txt.
- Implement SHWindowsPolicyGetValue function.
- Modify shlwapi.spec.
- Add some GUIDs into <shlguid_undoc.h>.
2026-05-25 19:24:20 +09:00
Katayama Hirofumi MZ 8823853f77 [SHLWAPI][SDK] Support PathUnExpandEnvStringsForUserA/W (#9041)
Implementing missing features...
JIRA issue: CORE-19278
- Implement PathUnExpandEnvStringsForUserA and
  PathUnExpandEnvStringsForUserW functions.
- Modify shlwapi.spec.
- Add prototypes into <shlwapi_undoc.h>.
2026-05-25 19:22:40 +09:00
Eric Kohl 2e13f97a62 [DHCPCSVC][REACTOS] Pass the SendParams parameter to the RequestParams server function 2026-05-24 10:58:01 +02:00
Eric Kohl 7dbfc3f2b6 [DHCPCSVC][PSDK] Add parameter checks to DhcpRegisterParamChange
Also add the required definition of DHCPCAPI_REGISTER_HANDLE_EVENT.
2026-05-23 16:26:32 +02:00