ntoskrnl: Load driver dependencies from the driver directory.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-03-17 11:49:16 +01:00
parent 23ed647773
commit 31816a90c6
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{