From: znakeeye on
DISPLAY_DEVICE dd2;
dd2.cb = sizeof DISPLAY_DEVICE;
EnumDisplayDevices("\\\\.\\DISPLAY1", 0, &dd2, 0)) // Returns 0 under
VirtualPC 2007!

However, if I call the function with the first parameter set to NULL
it succeeds. Is this by design? In native OS it works ok for both...

Thanks!