ntoskrnl: Load driver dependencies from the driver directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
23ed647773
commit
31816a90c6
|
@ -3691,7 +3691,7 @@ static HMODULE load_driver( const WCHAR *driver_name, const UNICODE_STRING *keyn
|
|||
|
||||
TRACE( "loading driver %s\n", wine_dbgstr_w(str) );
|
||||
|
||||
module = LoadLibraryW( str );
|
||||
module = LoadLibraryExW( str, 0, LOAD_WITH_ALTERED_SEARCH_PATH );
|
||||
|
||||
if (module && load_image_notify_routine_count)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue