We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9853f1d commit 4534537Copy full SHA for 4534537
win32ss/user/ntuser/display.c
@@ -245,20 +245,14 @@ UserEnumDisplayDevices(
245
return STATUS_UNSUCCESSFUL;
246
}
247
248
- if (!pustrDevice)
249
- {
250
- ASSERT(pGraphicsDevice->PhysDeviceHandle);
251
- pdo = pGraphicsDevice->PhysDeviceHandle;
252
- }
253
- else
+ if (pustrDevice)
254
{
255
EngpUpdateMonitorDevices(pGraphicsDevice);
256
if (iDevNum >= pGraphicsDevice->dwMonCnt)
257
258
TRACE("No monitor #%u for '%wZ'\n", iDevNum + 1, pustrDevice);
259
260
261
- pdo = pGraphicsDevice->pvMonDev[iDevNum].pdo;
262
263
264
0 commit comments