1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

explorer: Use GUID_NULL display device GUID for nulldrv.

This commit is contained in:
Rémi Bernon 2023-03-03 09:30:37 +01:00 committed by Alexandre Julliard
parent 8531f23a41
commit 992d60e122

View file

@ -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;