| View previous topic :: View next topic |
| Author |
Message |
DavidR Contributor

Joined: 05 Aug 2003 Posts: 83 Location: Bethel Pennsylvania U.S.A.
|
Posted: Mon May 17, 2010 11:10 am Post subject: Detecting HDMI |
|
|
I'm trying to programatically determine if there is an active HDMI connection to a PC running Windows 7.
Here's the scenario, There are a large number of Flat Screen monitors attached to tiny PC's running windows 7. These are located around several large facilities. (similar to an airport arrival/departure screen).
The content is "pushed" from a central location.
The problem is, when a monitor is accidentally powered off or "fails" it can remain that way for some time until someone realizes it.
I would like to be able to detect the presence of the monitor and send an alert if it "goes away". I know that the PC itself knows when the monitor is connected because if I walk up to one and cycle power on the monitor, the display format is incorrect (wrong size) until I either reboot the PC or refresh the content.
The question is, how can I detect this? I know I'm grasping here but I really have no idea where to start.. Any ideas?
Thanks.........
...............David |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1565
|
Posted: Mon May 17, 2010 6:04 pm Post subject: |
|
|
Possibly try this:
RegisterPowerSettingNotification
http://msdn.microsoft.com/en-us/library/aa373195(VS.85).aspx
You'd have to register for the GUID_MONITOR_POWER_ON message.
This would need to be converted to VDS syntax as well. |
|
| Back to top |
|
 |
DavidR Contributor

Joined: 05 Aug 2003 Posts: 83 Location: Bethel Pennsylvania U.S.A.
|
Posted: Tue May 18, 2010 12:37 pm Post subject: |
|
|
| PGWARE wrote: | Possibly try this:
RegisterPowerSettingNotification
http://msdn.microsoft.com/en-us/library/aa373195(VS.85).aspx
You'd have to register for the GUID_MONITOR_POWER_ON message.
This would need to be converted to VDS syntax as well. |
Thanks... That may be the solution.
I studied that page and some others related to the subject but I'm afraid implementing that in VDS is a bit beyond my skill level
...........David |
|
| Back to top |
|
 |
|