Commit 31816a90 authored by Alexandre Julliard's avatar Alexandre Julliard

ntoskrnl: Load driver dependencies from the driver directory.

parent 23ed6477
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment