reactos/sdk/cmake/baseaddress.cmake
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

397 lines
23 KiB
CMake

# Generated from output-MinGW-i386/
# Generated by sdk/tools/gen_baseaddress.py
set(baseaddress_ntdll 0x7c920000) # should be above 0x7c920000
set(baseaddress_kernel32 0x7c620000)
set(baseaddress_msvcrt 0x7c530000)
set(baseaddress_advapi32 0x7c470000)
set(baseaddress_gdi32 0x7c210000)
set(baseaddress_user32 0x77a20000) # reserved
set(baseaddress_dhcpcsvc 0x7c1c0000)
set(baseaddress_dnsapi 0x7c160000)
set(baseaddress_icmp 0x7c130000)
set(baseaddress_iphlpapi 0x7c0e0000)
set(baseaddress_ws2_32 0x7c090000)
set(baseaddress_ws2help 0x7c060000)
set(baseaddress_shlwapi 0x7bfa0000)
set(baseaddress_rpcrt4 0x7beb0000)
set(baseaddress_comctl32 0x7bc80000)
set(baseaddress_ole32 0x7ba30000)
set(baseaddress_winspool 0x7b900000)
set(baseaddress_winmm 0x7b840000)
set(baseaddress_comdlg32 0x7b720000)
set(baseaddress_shell32 0x7ad60000)
set(baseaddress_lz32 0x7ad40000)
set(baseaddress_version 0x7ad00000)
set(baseaddress_oleaut32 0x7aae0000)
set(baseaddress_setupapi 0x7a950000)
set(baseaddress_mpr 0x7a900000)
set(baseaddress_crypt32 0x7a7d0000)
set(baseaddress_wininet 0x7a6f0000)
set(baseaddress_urlmon 0x7a5c0000)
set(baseaddress_psapi 0x7a590000)
set(baseaddress_imm32 0x7a540000)
set(baseaddress_msvfw32 0x7a4f0000)
set(baseaddress_dbghelp 0x7a430000)
set(baseaddress_devmgr 0x7a340000)
set(baseaddress_msacm32 0x7a2f0000)
set(baseaddress_netapi32 0x7a250000)
set(baseaddress_powrprof 0x7a220000)
set(baseaddress_secur32 0x7a1c0000)
set(baseaddress_wintrust 0x7a160000)
set(baseaddress_avicap32 0x7a130000)
set(baseaddress_cabinet 0x7a0d0000)
set(baseaddress_dsound 0x7a040000)
set(baseaddress_glu32 0x79f20000)
set(baseaddress_opengl32 0x79dc0000)
set(baseaddress_riched20 0x79cf0000)
set(baseaddress_userenv 0x79c70000)
set(baseaddress_uxtheme 0x79c00000)
set(baseaddress_cryptui 0x79b40000)
set(baseaddress_csrsrv 0x79b00000)
set(baseaddress_basesrv 0x79ad0000)
set(baseaddress_winsrv 0x798e0000)
set(baseaddress_dplayx 0x79870000)
set(baseaddress_gdiplus 0x79760000)
set(baseaddress_msimg32 0x79730000)
set(baseaddress_mswsock 0x79700000)
set(baseaddress_oledlg 0x796b0000)
set(baseaddress_rasapi32 0x79680000)
set(baseaddress_rsaenh 0x79600000)
set(baseaddress_samlib 0x795c0000)
set(baseaddress_sensapi 0x79590000)
set(baseaddress_sfc_os 0x79560000)
set(baseaddress_snmpapi 0x79530000)
set(baseaddress_spoolss 0x794b0000)
set(baseaddress_usp10 0x79420000)
set(baseaddress_access 0x79390000)
set(baseaddress_acgenral 0x79370000)
set(baseaddress_aclayers 0x79340000)
set(baseaddress_acledit 0x79310000)
set(baseaddress_aclui 0x792d0000)
set(baseaddress_acppage 0x79260000)
set(baseaddress_activeds 0x79230000)
set(baseaddress_actxprxy 0x78f60000)
set(baseaddress_advapi32_vista 0x78f40000)
set(baseaddress_advpack 0x78f00000)
set(baseaddress_amstream 0x78ea0000)
set(baseaddress_apphelp 0x78e50000)
set(baseaddress_appwiz 0x78dc0000)
set(baseaddress_atl 0x78d70000)
set(baseaddress_atl100 0x78d30000)
set(baseaddress_atl80 0x78ce0000)
set(baseaddress_authz 0x78cb0000)
set(baseaddress_avifil32 0x78c20000)
set(baseaddress_batt 0x78bf0000)
set(baseaddress_bcrypt 0x78bc0000)
set(baseaddress_beepmidi 0x78b90000)
set(baseaddress_browser 0x78b60000)
set(baseaddress_browseui 0x78970000)
set(baseaddress_bthci 0x78940000)
set(baseaddress_cards 0x78880000)
set(baseaddress_cfgmgr32 0x78850000)
set(baseaddress_clusapi 0x78820000)
set(baseaddress_cmicpl 0x787e0000)
set(baseaddress_comcat 0x787b0000)
set(baseaddress_compstui 0x78780000)
set(baseaddress_console 0x78720000)
set(baseaddress_credui 0x786d0000)
set(baseaddress_crtdll 0x78600000)
set(baseaddress_cryptdlg 0x785c0000)
set(baseaddress_cryptdll 0x78590000)
set(baseaddress_cryptext 0x78560000)
set(baseaddress_cryptnet 0x78520000)
set(baseaddress_custom 0x784f0000)
set(baseaddress_d3d8 0x78490000)
set(baseaddress_d3d8thk 0x78470000)
set(baseaddress_d3d9 0x78400000)
set(baseaddress_d3dcompiler_43 0x78330000)
set(baseaddress_d3drm 0x78290000)
set(baseaddress_d3dwine 0x78040000)
set(baseaddress_d3dx9_24 0x77f00000)
set(baseaddress_d3dx9_25 0x778e0000)
set(baseaddress_d3dx9_26 0x777a0000)
set(baseaddress_d3dx9_27 0x77660000)
set(baseaddress_d3dx9_28 0x77520000)
set(baseaddress_d3dx9_29 0x773e0000)
set(baseaddress_d3dx9_30 0x772a0000)
set(baseaddress_d3dx9_31 0x77160000)
set(baseaddress_d3dx9_32 0x77020000)
set(baseaddress_d3dx9_33 0x76ee0000)
set(baseaddress_d3dx9_34 0x76da0000)
set(baseaddress_d3dx9_35 0x76c60000)
set(baseaddress_d3dx9_36 0x76b20000)
set(baseaddress_d3dx9_37 0x769e0000)
set(baseaddress_d3dx9_38 0x768a0000)
set(baseaddress_d3dx9_39 0x76760000)
set(baseaddress_d3dx9_40 0x76620000)
set(baseaddress_d3dx9_41 0x764e0000)
set(baseaddress_d3dx9_42 0x763a0000)
set(baseaddress_d3dx9_43 0x76260000)
set(baseaddress_d3dxof 0x76210000)
set(baseaddress_dbgeng 0x761c0000)
set(baseaddress_dciman32 0x76190000)
set(baseaddress_dcomlaunch 0x76160000)
set(baseaddress_ddraw 0x76090000)
set(baseaddress_desk 0x75fe0000)
set(baseaddress_deskadp 0x75fa0000)
set(baseaddress_deskmon 0x75f70000)
set(baseaddress_devcpux 0x75f40000)
set(baseaddress_devenum 0x75ef0000)
set(baseaddress_dinput 0x75e90000)
set(baseaddress_dinput8 0x75e30000)
set(baseaddress_dmusic 0x75de0000)
set(baseaddress_dnsrslvr 0x75db0000)
set(baseaddress_dplay 0x75d80000)
set(baseaddress_dpnhpast 0x75d50000)
set(baseaddress_dxdiagn 0x75d00000)
set(baseaddress_dxtn 0x75ce0000)
set(baseaddress_esent 0x75cb0000)
set(baseaddress_faultrep 0x75c80000)
set(baseaddress_fltlib 0x75c50000)
set(baseaddress_fmifs 0x75c30000)
set(baseaddress_fontext 0x75bd0000)
set(baseaddress_fontsub 0x75ba0000)
set(baseaddress_framedyn 0x75b70000)
set(baseaddress_getuname 0x74fb0000)
set(baseaddress_halpc98 0x74e10000)
set(baseaddress_halxbox 0x74c70000)
set(baseaddress_hdwwiz 0x74bf0000)
set(baseaddress_hhctrl 0x74b90000)
set(baseaddress_hid 0x74b60000)
set(baseaddress_hlink 0x74b20000)
set(baseaddress_hnetcfg 0x74ae0000)
set(baseaddress_hotplug 0x74ab0000)
set(baseaddress_httpapi 0x74a80000)
set(baseaddress_iccvid 0x74a50000)
set(baseaddress_ieframe 0x74970000)
set(baseaddress_iernonce 0x74940000)
set(baseaddress_imaadp32.acm 0x74910000)
set(baseaddress_imagehlp 0x748e0000)
set(baseaddress_inetcomm 0x74870000)
set(baseaddress_inetcpl 0x74810000)
set(baseaddress_inetmib1 0x747e0000)
set(baseaddress_initpki 0x747b0000)
set(baseaddress_input 0x74740000)
set(baseaddress_inseng 0x74700000)
set(baseaddress_intl 0x74680000)
set(baseaddress_iologmsg 0x74660000)
set(baseaddress_itircl 0x74630000)
set(baseaddress_itss 0x745e0000)
set(baseaddress_joy 0x745a0000)
set(baseaddress_jscript 0x74400000)
set(baseaddress_jsproxy 0x743d0000)
set(baseaddress_kbdeo 0x743b0000)
set(baseaddress_kbdrost 0x74390000)
set(baseaddress_kbdsf 0x74370000)
set(baseaddress_kbsdll 0x74340000)
set(baseaddress_kernel32_vista 0x74320000)
set(baseaddress_ksuser 0x742f0000)
set(baseaddress_libjpeg 0x74240000)
set(baseaddress_libpng 0x74190000)
set(baseaddress_libtiff 0x74090000)
set(baseaddress_libtirpc 0x74030000)
set(baseaddress_libxslt 0x73cf0000)
set(baseaddress_load_notifications 0x73cd0000)
set(baseaddress_loadperf 0x73ca0000)
set(baseaddress_localmon 0x73c40000)
set(baseaddress_localspl 0x73b50000)
set(baseaddress_localspl_apitest 0x73b20000)
set(baseaddress_localui 0x73ad0000)
set(baseaddress_lpk 0x73aa0000)
set(baseaddress_lsasrv 0x73a20000)
set(baseaddress_main 0x73980000)
set(baseaddress_mapi32 0x73930000)
set(baseaddress_mbedtls 0x73870000)
set(baseaddress_mciavi32 0x73830000)
set(baseaddress_mcicda 0x73800000)
set(baseaddress_mciqtz32 0x737c0000)
set(baseaddress_mciseq 0x73790000)
set(baseaddress_mciwave 0x73750000)
set(baseaddress_mgmtapi 0x73720000)
set(baseaddress_midimap 0x736f0000)
set(baseaddress_mlang 0x736b0000)
set(baseaddress_mmdrv 0x73680000)
set(baseaddress_mmsys 0x73590000)
set(baseaddress_modemui 0x73510000)
set(baseaddress_mprapi 0x734d0000)
set(baseaddress_msacm32.drv 0x73490000)
set(baseaddress_msadp32.acm 0x73460000)
set(baseaddress_msafd 0x73410000)
set(baseaddress_mscat32 0x733e0000)
set(baseaddress_mscms 0x733a0000)
set(baseaddress_mscoree 0x73340000)
set(baseaddress_msctf 0x732e0000)
set(baseaddress_msdmo 0x732b0000)
set(baseaddress_msftedit 0x73280000)
set(baseaddress_msg711.acm 0x73250000)
set(baseaddress_msgina 0x73170000)
set(baseaddress_msgsm32.acm 0x73140000)
set(baseaddress_mshtml 0x72e70000)
set(baseaddress_msi 0x72c80000)
set(baseaddress_msimtf 0x72c50000)
set(baseaddress_msisip 0x72c20000)
set(baseaddress_msisys 0x72bf0000)
set(baseaddress_mspatcha 0x72bc0000)
set(baseaddress_msports 0x72b80000)
set(baseaddress_msrle32 0x72b40000)
set(baseaddress_mssign32 0x72b10000)
set(baseaddress_mssip32 0x72ae0000)
set(baseaddress_mstask 0x72aa0000)
set(baseaddress_msv1_0 0x72a70000)
set(baseaddress_msvcrt20 0x72960000)
set(baseaddress_msvcrt40 0x72850000)
set(baseaddress_msvcrt_crt_dll_startup 0x72820000)
set(baseaddress_msvidc32 0x727f0000)
set(baseaddress_msxml 0x727c0000)
set(baseaddress_msxml2 0x72790000)
set(baseaddress_msxml3 0x72360000)
set(baseaddress_msxml3r 0x72340000)
set(baseaddress_msxml4 0x72300000)
set(baseaddress_msxml6 0x722c0000)
set(baseaddress_mycomput 0x722a0000)
set(baseaddress_mydocs 0x72250000)
set(baseaddress_ncpa 0x72220000)
set(baseaddress_nddeapi 0x721f0000)
set(baseaddress_netcfgx 0x72140000)
set(baseaddress_netevent 0x72110000)
set(baseaddress_netid 0x720b0000)
set(baseaddress_netlogon 0x72080000)
set(baseaddress_netmsg 0x71f00000)
set(baseaddress_netplwiz 0x71ed0000)
set(baseaddress_netshell 0x71e10000)
set(baseaddress_newdev 0x71db0000)
set(baseaddress_nfs41_np 0x71d80000)
set(baseaddress_normaliz 0x71d50000)
set(baseaddress_npptools 0x71d20000)
set(baseaddress_ntdll_vista 0x71d00000)
set(baseaddress_ntdsapi 0x71cd0000)
set(baseaddress_ntlanman 0x71ca0000)
set(baseaddress_ntmarta 0x71c70000)
set(baseaddress_ntobjshex 0x71bd0000)
set(baseaddress_ntprint 0x71b80000)
set(baseaddress_objsel 0x71b50000)
set(baseaddress_odbc32 0x71b00000)
set(baseaddress_odbccp32 0x71ac0000)
set(baseaddress_odbccp32i 0x71a90000)
set(baseaddress_oleacc 0x719f0000)
set(baseaddress_olecli32 0x719c0000)
set(baseaddress_olepro32 0x71990000)
set(baseaddress_olesvr32 0x71960000)
set(baseaddress_olethk32 0x71930000)
set(baseaddress_openglcfg 0x71900000)
set(baseaddress_pdh 0x718c0000)
set(baseaddress_pidgen 0x71890000)
set(baseaddress_pifmgr 0x71820000)
set(baseaddress_powercfg 0x717b0000)
set(baseaddress_printui 0x71760000)
set(baseaddress_profmap 0x71730000)
set(baseaddress_propsys 0x716e0000)
set(baseaddress_pstorec 0x716b0000)
set(baseaddress_qcap 0x71640000)
set(baseaddress_qedit 0x715f0000)
set(baseaddress_qmgr 0x715b0000)
set(baseaddress_qmgrprxy 0x71540000)
set(baseaddress_quartz 0x71370000)
set(baseaddress_query 0x71340000)
set(baseaddress_rasadhlp 0x71310000)
set(baseaddress_rasdlg 0x71140000)
set(baseaddress_rasman 0x71100000)
set(baseaddress_redirtest1 0x710d0000)
set(baseaddress_redirtest2 0x710a0000)
set(baseaddress_regapi 0x71070000)
set(baseaddress_resutils 0x71040000)
set(baseaddress_riched32 0x71010000)
set(baseaddress_rsabase 0x70ff0000)
set(baseaddress_rshell 0x70f90000)
set(baseaddress_samsrv 0x70f00000)
set(baseaddress_sccbase 0x70ed0000)
set(baseaddress_schannel 0x70e90000)
set(baseaddress_schedsvc 0x70e60000)
set(baseaddress_scrrun 0x70e00000)
set(baseaddress_security 0x70de0000)
set(baseaddress_sendmail 0x70d90000)
set(baseaddress_serialui 0x70d60000)
set(baseaddress_sfc 0x70d30000)
set(baseaddress_shdoclc 0x70cf0000)
set(baseaddress_shdocvw 0x70ca0000)
set(baseaddress_shellbtrfs 0x70a60000)
set(baseaddress_shfolder 0x70a40000)
set(baseaddress_shimgvw 0x709e0000)
set(baseaddress_shlwapi_resource_dll 0x709c0000)
set(baseaddress_shsvcs 0x70990000)
set(baseaddress_slbcsp 0x70960000)
set(baseaddress_sndblst 0x70930000)
set(baseaddress_softpub 0x70910000)
set(baseaddress_srclient 0x708e0000)
set(baseaddress_srvsvc 0x708b0000)
set(baseaddress_sti 0x70870000)
set(baseaddress_stobject 0x707e0000)
set(baseaddress_storprop 0x707b0000)
set(baseaddress_streamci 0x70780000)
set(baseaddress_sxs 0x70740000)
set(baseaddress_sysdm 0x70650000)
set(baseaddress_syssetup 0x704f0000)
set(baseaddress_t2embed 0x704c0000)
set(baseaddress_tapi32 0x70480000)
set(baseaddress_tapiui 0x703f0000)
set(baseaddress_telephon 0x703c0000)
set(baseaddress_testvdd 0x70380000)
set(baseaddress_themeui 0x70360000)
set(baseaddress_timedate 0x702e0000)
set(baseaddress_traffic 0x702b0000)
set(baseaddress_twain_32 0x70280000)
set(baseaddress_ubtrfs 0x70240000)
set(baseaddress_ucdfs 0x70220000)
set(baseaddress_uext2 0x701e0000)
set(baseaddress_ufat 0x701a0000)
set(baseaddress_ufatx 0x70180000)
set(baseaddress_uffs 0x70160000)
set(baseaddress_umandlg 0x70130000)
set(baseaddress_umpnpmgr 0x700f0000)
set(baseaddress_untfs 0x700d0000)
set(baseaddress_updspapi 0x700a0000)
set(baseaddress_ureiserfs 0x70080000)
set(baseaddress_url 0x70050000)
set(baseaddress_usrmgr 0x6fff0000)
set(baseaddress_vbscript 0x6ff40000)
set(baseaddress_vdmdbg 0x6ff10000)
set(baseaddress_verifier 0x6fef0000)
set(baseaddress_vssapi 0x6fec0000)
set(baseaddress_w32time 0x6fe90000)
set(baseaddress_wbemdisp 0x6fe40000)
set(baseaddress_wbemprox 0x6fdc0000)
set(baseaddress_wdmaud.drv 0x6fc00000)
set(baseaddress_win32u 0x6fbd0000)
set(baseaddress_windowscodecs 0x6fa50000)
set(baseaddress_windowscodecsext 0x6fa20000)
set(baseaddress_wined3dcfg 0x6f9f0000)
set(baseaddress_winemp3.acm 0x6f940000)
set(baseaddress_winfax 0x6f910000)
set(baseaddress_wing32 0x6f8e0000)
set(baseaddress_winhttp 0x6f870000)
set(baseaddress_winprint 0x6f820000)
set(baseaddress_winscard 0x6f7f0000)
set(baseaddress_winsta 0x6f7c0000)
set(baseaddress_wkssvc 0x6f790000)
set(baseaddress_wlanapi 0x6f760000)
set(baseaddress_wldap32 0x6f720000)
set(baseaddress_wlnotify 0x6f6f0000)
set(baseaddress_wmi 0x6f6d0000)
set(baseaddress_wmisvc 0x6f6a0000)
set(baseaddress_wmiutils 0x6f660000)
set(baseaddress_wmvcore 0x6f610000)
set(baseaddress_wshirda 0x6f5e0000)
set(baseaddress_wshom 0x6f590000)
set(baseaddress_wshtcpip 0x6f560000)
set(baseaddress_wsock32 0x6f530000)
set(baseaddress_wtsapi32 0x6f500000)
set(baseaddress_wuapi 0x6f4c0000)
set(baseaddress_wuauserv 0x6f490000)
set(baseaddress_xinput1_1 0x6f460000)
set(baseaddress_xinput1_2 0x6f430000)
set(baseaddress_xinput1_3 0x6f400000)
set(baseaddress_xinput9_1_0 0x6f3d0000)
set(baseaddress_xmllite 0x6f380000)
set(baseaddress_xolehlp 0x6f350000)
set(baseaddress_zipfldr 0x6f200000)