Skip to content

Commit d1b0a76

Browse files
committed
Revert "[WIN32SS:USER] Add 'DISPLAY' as an alternate name for global display"
This reverts commit 4da4648.
1 parent c356035 commit d1b0a76

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎win32ss/user/ntuser/display.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,6 @@ NtUserEnumDisplayDevices(
380380
PDISPLAY_DEVICEW pDisplayDevice,
381381
DWORD dwFlags)
382382
{
383-
static const UNICODE_STRING ustrDisplay = RTL_CONSTANT_STRING(L"DISPLAY");
384383
UNICODE_STRING ustrDevice;
385384
WCHAR awcDevice[CCHDEVICENAME];
386385
DISPLAY_DEVICEW dispdev;
@@ -412,7 +411,7 @@ NtUserEnumDisplayDevices(
412411
}
413412
_SEH2_END
414413

415-
if (ustrDevice.Length > 0 && !RtlEqualUnicodeString(&ustrDevice, &ustrDisplay, TRUE))
414+
if (ustrDevice.Length > 0)
416415
pustrDevice = &ustrDevice;
417416
else
418417
pustrDevice = NULL;

0 commit comments

Comments
 (0)