Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: Powerhome UPS functionality Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
patrickm
Senior Member
Senior Member


Joined: February 22 2007
Location: United States
Online Status: Offline
Posts: 188
Posted: July 24 2009 at 12:34 | IP Logged Quote patrickm

I am wondering if anyone has done anything with Windows UPS/Power management and Powerhome?

Is anyone using the WM_POWERBROADCAST message with Powerhome?

I am curious what other people are doing with UPS and Powerhome.
Back to Top View patrickm's Profile Search for other posts by patrickm
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: August 02 2009 at 12:35 | IP Logged Quote jeffw_00

i can't even find this one in the online docs...
?
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
patrickm
Senior Member
Senior Member


Joined: February 22 2007
Location: United States
Online Status: Offline
Posts: 188
Posted: August 03 2009 at 11:00 | IP Logged Quote patrickm

WM_POWERBROADCAST is a windows API broadcast message. I see stuff in the Powerhome documentation about sending windows messages to other apps (ph_sendmsg) but I didn't see anything about receiving them.
Back to Top View patrickm's Profile Search for other posts by patrickm
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: August 03 2009 at 19:35 | IP Logged Quote TonyNo

For things that use WM_COPYDATA, you could create a new trigger and set the Trigger-Type to WM_COPYDATA to receive those messages. There is also a WM_USER trigger.

WM_COPYDATA / Data Trigger
The passed-in data is available within the [TEMP5] system variable
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
patrickm
Senior Member
Senior Member


Joined: February 22 2007
Location: United States
Online Status: Offline
Posts: 188
Posted: August 10 2009 at 15:34 | IP Logged Quote patrickm

Those commands appear to be for sending messages not receiving them. I want to be able to trigger events based apon listening to the WM_POWERBROADCAST messages.
Back to Top View patrickm's Profile Search for other posts by patrickm
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: August 10 2009 at 19:37 | IP Logged Quote TonyNo

For the record, WM_COPYDATA is for receiving copydata messages.

I think Dave needs to chime in as to if this can be done. Seems like a helper-app would be needed to listen for that message and then send to PH via a WM_COPYDATA message.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum