Hello,
I was trying to use the Windows XP 64 bit driver of Realtek's 8188GU chipset (I own one USB dongle with this chipset), but failed eventually due to some missing ntoskrnl calls, namely:
[ 678.384873] ndiswrapper (import:232): unknown symbol: ntoskrnl.exe:'wcsstr'
[ 678.384881] ndiswrapper (import:232): unknown symbol: ntoskrnl.exe:'ZwEnumerateValueKey'
[ 678.384959] ndiswrapper (load_sys_files:200): couldn't prepare driver 'netrtl8188gu_xp'
[ 678.385610] ndiswrapper (load_wrap_driver:101): couldn't load driver netrtl8188gu_xp; check system log for messages from 'loadndisdriver'
The ndiswrapper kernel module lacks of to symbols, exposed by ntoskrnl.exe: wcsstr and ZwEnumerateValueKey.
The missing function calls are documented here:
https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-zwenumeratevaluekey
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/strstr-wcsstr-mbsstr-mbsstr-l?view=vs-2019
Would it be possible to add these two function cals to the ndiswrapper kernel module?
Thank you for your answer!
Best regards,
-Balint Uveges
Hi,
I also wanted to add that I'm happy to contribute to an effort implementing the missing symbols. Although I'm not experienced in driver development, I can help to evaluate and debug the kernel module if any source code is available.
Br,
-Balint Uveges