explorer: Use GUID_NULL display device GUID for nulldrv.
This commit is contained in:
parent
8531f23a41
commit
992d60e122
1 changed files with 2 additions and 1 deletions
|
@ -876,7 +876,7 @@ static BOOL get_default_enable_shell( const WCHAR *name )
|
|||
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[] = {
|
||||
'S','y','s','t','e','m','\\',
|
||||
|
@ -921,6 +921,7 @@ static HMODULE load_graphics_driver( const WCHAR *driver, const GUID *guid )
|
|||
|
||||
if (!wcscmp( name, L"null" ))
|
||||
{
|
||||
memset( guid, 0, sizeof(*guid) );
|
||||
TRACE( "display %s using null driver\n", debugstr_guid(guid) );
|
||||
wcscpy( libname, L"null" );
|
||||
null_driver = TRUE;
|
||||
|
|
Loading…
Add table
Reference in a new issue