cupax.blogg.se

Find monitor serial number remotely
Find monitor serial number remotely













Please also note that this is not simply a matter of "dragging windows" to each of the monitors.

find monitor serial number remotely

The user to match up their desired output screen to their desired monitor number, significant functionality of my application has been lost on Windows 7. Since my application allows for different output screens to the multiple outputs, it is imperative that my application allow the user to associate what output should be displayed to what display monitor number. Users set their resolutions based upon their needs as well as the particular display device they have connected to their video card outputs. These monitors are connected to the computer via any combination of the following: VGA, DVI, HDMI, S-Video. My application displays multi-monitor presentations where users typically use 2, 3, or 4 monitors. On the 'screen resolution' Windows 7 screen. Keep in mind that this was not previously a problem in Vista or XP, and to be proactive, I will detail my situation as to why it is important to be able to programmatically determine which monitors are associated with the monitor numbers as displayed It is completely reasonable to expect there to be a way to programmatically associate enumerated displays (and display names) with the screen numbers displayed in 'screen resolution'. I find your questioning of the validity of what the OP is trying to accomplish a diversion to the fundamental problem reported by the OP.

find monitor serial number remotely find monitor serial number remotely

This is in fact the same issue that the OP is having. The issue is that when enumerating display monitors, and in turn calling getMonitorInfo, *sometimes* the szDevice returned matches the 'screen resolution' monitor numbers and sometimes it does not. is true, then could you please explain what the szDevice member of the MONITORINFOEX structure is useful for? I too am experiencing a significant issue with windows 7 that was not a problem in Vista or XP. "It was never a design goal to provide a way for applications to label monitors with the same IDs that the screen resolution control panel uses" With all due respect, I find the answers given to the OP by your team a cop-out and frankly nonsensical. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. If you have any feedback of our support, please contact remember to mark the replies as answers if they help and unmark them if they provide no help. Jialiang Ge MSDN Subscriber Support in Forum

find monitor serial number remotely

You can get your requested info based on these differences. BOOL CALLBACK MyInfoEnumProc( HMONITOR hMonitor, HDC hdcMonitor, LPRECT lprcMonitor, LPARAM dwData ) \0003' Monitor Name: 'Generic PnP Monitor' EnumDisplayMonitors DisplayDevice: \\.\DISPLAY1 DisplayDevice: \\.\DISPLAY2Īs you see from the above test results, StateFlags, DeviceID, and Monitor Name can differentiate the conditions.















Find monitor serial number remotely