Windows 10 Compatibility for Windows XP/2003 (WIP) - extras for ADVAPI32.DLL
Implementation of some ADVAPI32.DLL functions, available in Windows versions released after Windows XP/2003, to get software to that is compatible with Windows 2003R2/Vista/2008/2008R2/7/8/8.1/2016/10/2019 to run in Windows XP/2003.
The current implementation of C code compiles and links fine with the existing ADVAPI32.DLL code, but is a work in progress.
This is not intended to be a secure implementation for now, just intended to provide compatibility. Some functions are being tested now, more information here Wine-on-Windows
New files implementing functions start with an
_. Missing functions in applications can be found out by loading the executable into Dependency Walker (depends.exe). This code can be used to to further with this test harness.
Needs help as they are many functions to be back-ported!
- A x86 version of Windows 2003 / XP SP1 with source code available: see build-win2k3
- Disable Windows File Protection when DLL’s replacing after installation, see https://www.technipages.com/enable-disable-wfp
- Ability to execute executables built for newer versions than Windows XP SP2 / Windows Server 2003 RTM (NT 5.2).
Changes only happen in
- (Included in the patched files) In
\mergedcomponents\advapi32\advapi32.def: add these two lines
EventRegister = ntdll.EtwEventRegister EventUnregister = ntdll.EtwEventUnregister EventWrite = ntdll.EtwEventWrite EventWriteTransfer = ntdll.EtwEventWriteTransfer EventWriteEx = ntdll.EtwEventWriteEx EventSetInformation = ntdll.EtwEventSetInformation
- Overwrite the created
C:\WINDOWS\SYSTEM32folder of your Windows XP installation.
|EventRegister||Implemented||redirected to NTDLL.DLL||2020/11/30|
|EventUnregister||Implemented||redirected to NTDLL.DLL||2020/11/30|
|EventWrite||Implemented||redirected to NTDLL.DLL||2020/11/30|
|EventWriteTransfer||Implemented||redirected to NTDLL.DLL||2020/11/30|
|EventWriteEx||Implemented||redirected to NTDLL.DLL||2020/11/30|
|EventSetInformation||Implemented||redirected to NTDLL.DLL||2020/11/30|