forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Detecting HDMI

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
DavidR
Contributor
Contributor


Joined: 05 Aug 2003
Posts: 83
Location: Bethel Pennsylvania U.S.A.

PostPosted: Mon May 17, 2010 11:10 am    Post subject: Detecting HDMI Reply with quote

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
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1565

PostPosted: Mon May 17, 2010 6:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
DavidR
Contributor
Contributor


Joined: 05 Aug 2003
Posts: 83
Location: Bethel Pennsylvania U.S.A.

PostPosted: Tue May 18, 2010 12:37 pm    Post subject: Reply with quote

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 Sad
...........David
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group