reactos/sdk/include/reactos
Hermès Bélusca-Maïto 0e14378d3e
[SMDLL][SMLIB] Deprecate the legacy ROS-specific SMDLL and improve SM client functions. (#4821)
This DLL was exporting legacy NT-incompatible or ROS-specific SM client
functions, that have been since 10 years now (2012) replaced by the new
NT-compatible SM:

- SmConnectApiPort(): was just SmConnectToSm().

- SmCompleteSession():
  The legacy SMSS used it for when a subsystem initialization was finished.
  Now (NT-compatible) this function is called by subsystems **only** when a
  subsystem session **terminates**: SmSessionComplete().

- SmExecuteProgram(): was just the client side of SmLoadDeferedSubSystem()
  (whose server side is not implemented yet). The legacy SM "old" SmExecPgm
  implementation actually was "SmLoadDeferedSubSystem"...

- SmLookupSubsystem(): is a utility-only function to read any registry value
  inside "Session Manager\SubSystems".

Move SMDLL's readme into SMLIB and update its contents.

Collect some residual useful functions into smutils.c (and moved in SMLIB,
though not compiled yet):
- SmExecuteProgram(), now implemented as a wrapper around SmExecPgm();
- SmLookupSubsystem(), described above;
- SmQueryInformation(), that retrieves a list of currently-running subsystems.

[SMLIB] Validate SbApiPortName's length in SmConnectToSm().
Fix CommandLine length validation in SmStartCsr().

Add documentation (+ SAL annotations) to the NT-compatible SMSS client functions.

smmsg.h: Add both Win32 and Win64 struct sizes C_ASSERTs for those whose size
change between these two processor architecture sizes.

[SMLIB] Introduce SmSendMsgToSm() as helper to send data into the SM LPC port.
+ Make the other API functions use it.

It should be observed that in Vista+, both functions SmConnectToSm() and this
new SmSendMsgToSm() are exported by NTDLL under the names RtlConnectToSm()
and RtlSendMsgToSm() (and use the same signature).
See: https://www.geoffchappell.com/studies/windows/win32/ntdll/history/names60.htm

[NTDLL] Correctly stub RtlConnectToSm() and RtlSendMsgToSm().
[NTDLL_VISTA] Link to SMLIB and simply export RtlConnectToSm() and RtlSendMsgToSm().
2022-11-08 17:40:53 +01:00
..
appcompat [APPHELP][APPHELP_APITEST] Implement SdbGetDatabaseInformation 2019-02-25 20:00:34 +01:00
arc Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
arm Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
chew Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
debug [SDK] Use FORCEINLINE instead of inline 2020-11-16 16:58:10 +01:00
dll [DESK] Pass the list of all display modes to extensions 2022-06-20 14:38:03 +03:00
drivers [SDK:REACTOS] Fix packing of GEN_ADDR structure, used in some ACPI tables 2022-06-08 07:58:27 +02:00
elf Add .keep guard files in order to restore lost but empty directories we had with SVN. 2017-10-04 10:28:36 +02:00
idl [SECLOGON][ADVAPI] CreateProcessWithLogonW: Return process information to the caller 2022-07-24 01:08:13 +02:00
kjk Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
libs [ZLIB] Update to v1.2.12. CORE-18339 2022-10-10 11:03:41 -04:00
mc [TRANSLATION] Big Romanian (ro-RO) translation update - part 1 (#4701) 2022-10-09 14:00:20 +03:00
services [SERVICES] On service start control message, send the service tag 2018-12-30 21:44:25 +01:00
subsys [SMDLL][SMLIB] Deprecate the legacy ROS-specific SMDLL and improve SM client functions. (#4821) 2022-11-08 17:40:53 +01:00
ui [SDK:REACTOS] Move our ROS-specific header-only UI libraries into a "ui" sub-folder. (#4205) 2022-01-06 02:17:25 +01:00
wine [FREELDR][SDK] Sync copyright years with our banner and boot logo 2022-06-27 21:42:01 +03:00
winsock [FORMATTING][NTOS][HAL][DRIVERS][SDK] Fix trailing spaces 2021-06-11 15:33:08 +03:00
browseui_undoc.h [EXPLORER][BROWSEUI][SHELL32][NETSHELL] Fix wrong usage of CComPtr 2022-10-02 00:38:23 +02:00
buildno.h.cmake [SYSDM] Introduce KERNEL_VERSION_REVISION_RC and align system uptime string 2021-02-01 07:32:14 +01:00
comctl32_undoc.h [SDK][INCLUDE] Improve <comctl32_undoc.h> more 2020-02-13 11:26:40 +09:00
compat_undoc.h [LDR][APPHELP] Add a shim that disables manifest compatibility version parsing 2019-08-19 12:08:06 +02:00
compatguid_undoc.h [NTDLL] Check the process manifest at startup for a compatibility section. 2018-04-09 19:36:09 +02:00
debug.h [SDK] Silence a GCC warning on RtlAssert 2020-02-08 22:09:14 +01:00
exeformat.h Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
iernonce_undoc.h [IERNONCE] [RUNONCEEX] Add RunOnceEx functionality for ReactOS (#3926) 2021-09-29 11:30:32 +02:00
imm32_undoc.h [IMM32] Fix & Rename: s/Imm32LockIMCEx/Imm32InternalLockIMC/ (#4436) 2022-04-08 22:23:30 +09:00
kddll.h Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
kdros.h [SDK] Enforce callback type for KdRosRegisterCliCallback(), KdRosDeregisterCliCallback(). 2018-04-29 12:33:14 +02:00
manifest.xml Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
manifest_dll.rc [SDK] Fix copy-pasta, addendum to 7861960 by Mark Jansen. 2017-12-24 16:48:13 +01:00
manifest_exe.rc [SDK] Guard manifest_[dll|exe].rc against wrong usage. 2017-12-24 11:44:21 +01:00
manifest_hosted.rc [TELEPHON.CPL] Include winuser.h in the rc which is needed for manifest_hosted.rc 2018-03-01 10:05:54 +02:00
msgdump.h Remove '.html' from spdx.org license page URLs. (#4845) 2022-11-03 18:25:37 +01:00
msvctarget.h [SDK] Allow ARM64 MSVC to complete configuration (#4045) 2021-10-22 18:52:32 +03:00
probe.h [NTOS:EX][SDK:REACTOS] Fix capitalization of "LangId" in the ProbeFor*** functions. 2022-02-08 15:56:34 +01:00
reactx.h Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
rosioctl.h [USETUP] Remove the PARTITION_EXT2 constant and use PARTITION_LINUX in favour since PARTITION_EXT2 is just an alias to PARTITION_LINUX 2018-11-07 23:16:29 +01:00
rossym.h [NTOS:KD][NTOS:KD64][NTOS:KDBG] Fix IRQL & spinlock use 2021-06-29 11:49:20 +02:00
shellutils.h [SDK] Define CCoInit in shellutils 2022-11-01 21:24:14 +01:00
shlguid_undoc.h [SDK][INCLUDE] Add CLSID_CopyToMenu and CLSID_MoveToMenu (#3032) 2020-08-11 17:26:05 +09:00
shlobj_undoc.h [SHELL32][SHELL32_APITEST] Implement SHCreateFileDataObject 2021-12-31 21:27:30 +01:00
shlwapi_undoc.h [SHELL32][INCLUDE] Fix PathResolve for double-backslash (#4833) 2022-11-04 21:44:46 +09:00
srmp.h Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
stubs.h [SPEC2DEF] Fix compilation of generated stub C files with int64 parameters 2019-01-08 18:58:56 +01:00
svc.h [SDK:REACTOS][SVCHOST] Add/complete all missing definitions in the SVCHOST global header. (#4295) 2022-04-01 04:55:31 +02:00
tcpip_undoc.h Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
undocelfapi.h [SDK] Add a header for the user-mode NT EventLog API. Addendum to commit dca4fd46 (SVN r71384). 2018-03-25 00:28:04 +01:00
undocgdi.h [FONTEXT] Initial implementation of CFontExt::DoGetFontTitle (#3127) 2020-09-12 09:40:48 +09:00
undocmpr.h [WINLOGON][MPR][SDK] WNetClearConnections: Fix function parameter type (#3480) 2021-04-18 21:58:44 +03:00
undocshell.h [SHELL32] shlexec: Initial support of App Paths (#4850) 2022-11-08 09:23:06 +09:00
undocuser.h [NTUSER][USER32][INCLUDE] s/SETIMEHOTKEY_DELETEALL/SETIMEHOTKEY_INITIALIZE/ 2022-10-19 12:15:11 +09:00
uxundoc.h [FORMATTING][NTOS][HAL][DRIVERS][SDK] Fix trailing spaces 2021-06-11 15:33:08 +03:00
verifier.h [RTL] Use RtlApplicationVerifierStop for DPH 2022-11-01 21:26:05 +01:00
version.cmake 🎊 🍾 🥳 Happy New Year 2022 to the ReactOS Community! 🎆 ⚛️ ☢️ 2022-01-01 00:00:00 +01:00
version.h.cmake Make ReactOS report the Git revision as output by "git describe". 2017-10-03 12:55:38 +02:00
version.rc [FREELDR][SDK] Sync copyright years with our banner and boot logo 2022-06-27 21:42:01 +03:00
windbgkd.h [REACTOS] Finally get some ARM64 applications building (#4517) 2022-05-25 17:06:32 +03:00
windns_undoc.h [DNSAPI][DNSRSLVR] Implement DnsGetCacheDataTable() 2019-12-22 11:21:04 +01:00
winxx.h Remove '.html' from spdx.org license page URLs. (#4845) 2022-11-03 18:25:37 +01:00
wmiioctl.h Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00