Commit 992d60e1 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

explorer: Use GUID_NULL display device GUID for nulldrv.

parent 8531f23a
...@@ -876,7 +876,7 @@ static BOOL get_default_enable_shell( const WCHAR *name ) ...@@ -876,7 +876,7 @@ static BOOL get_default_enable_shell( const WCHAR *name )
return result; return result;
} }
static HMODULE load_graphics_driver( const WCHAR *driver, const GUID *guid ) static HMODULE load_graphics_driver( const WCHAR *driver, GUID *guid )
{ {
static const WCHAR device_keyW[] = { static const WCHAR device_keyW[] = {
'S','y','s','t','e','m','\\', 'S','y','s','t','e','m','\\',
...@@ -921,6 +921,7 @@ static HMODULE load_graphics_driver( const WCHAR *driver, const GUID *guid ) ...@@ -921,6 +921,7 @@ static HMODULE load_graphics_driver( const WCHAR *driver, const GUID *guid )
if (!wcscmp( name, L"null" )) if (!wcscmp( name, L"null" ))
{ {
memset( guid, 0, sizeof(*guid) );
TRACE( "display %s using null driver\n", debugstr_guid(guid) ); TRACE( "display %s using null driver\n", debugstr_guid(guid) );
wcscpy( libname, L"null" ); wcscpy( libname, L"null" );
null_driver = TRUE; null_driver = TRUE;
......
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