https://bugs.winehq.org/show_bug.cgi?id=49193
Pepper tiagoapimenta@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tiagoapimenta@gmail.com
--- Comment #7 from Pepper tiagoapimenta@gmail.com --- Hello,
The following app also requires this wdfldr.sys: https://appdb.winehq.org/objectManager.php?sClass=application&iId=20040
--- snip --- WINEDEBUG=+seh,+relay,+ntoskrnl wine net start mhyprot2 > mhyprot2.sys.log 2>&1 ... 00c9:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\users\tiago\Temp\mhyprot2.sys") not found --- snip --- winedump -j import .wine/drive_c/users/tiago/Temp/mhyprot2.sys > mhyprot2.sys.dump ... --- snip --- offset 00009e50 WDFLDR.SYS Hint/Name Table: 0000E2B8 TimeDateStamp: 00000000 (Wed Dec 31 21:00:00 1969) ForwarderChain: 00000000 First thunk RVA: 00008028 Thunk Ordn Name 00008028 7 WdfVersionBindClass 00008030 6 WdfVersionBind 00008038 8 WdfVersionUnbind 00008040 9 WdfVersionUnbindClass --- snip --- # from windows: objdump -xs wdfldr.sys ... [Ordinal/Name Pointer] Table [ 0] DllInitialize [ 1] DllUnload [ 2] WdfLdrDiagnosticsValueByNameAsULONG [ 3] WdfLdrQueryInterface [ 4] WdfRegisterClassLibrary [ 5] WdfRegisterLibrary [ 6] WdfVersionBind [ 7] WdfVersionBindClass [ 8] WdfVersionUnbind [ 9] WdfVersionUnbindClass --- snip ---
I don't know how it works, from tag wine-5.21, I created a dlls/wdfldr.sys based on dlls/scsiport.sys with the following stub:
--- snip --- @ stub DllInitialize @ stub DllUnload @ stub WdfLdrDiagnosticsValueByNameAsULONG @ stub WdfLdrQueryInterface @ stub WdfRegisterClassLibrary @ stub WdfRegisterLibrary @ stub WdfVersionBind @ stub WdfVersionBindClass @ stub WdfVersionUnbind @ stub WdfVersionUnbindClass --- snip ---
In the end generated a file at $WINEPREFIX/drive_c/windows/system32/drivers/wdfldr.sys the service still don't recognize it.