Sign in to follow this  
Followers 0
FuryCell

Power Scheme UDFs

4 posts in this topic

#1 ·  Posted (edited)

The following are some UDFs that can be used to deal with power schemes. (such as balanced or high performance) I've tested on Windows 7 and XP and it should be compatible with Vista. However it would be nice if someone could test it on Vista. These functions should be useful for changing power schemes on the fly. I am also posting a program I have written that makes use of these UDFs.

_PowerScheme_List()
_PowerScheme_GetActive()
_PowerScheme_SetActive($sGUID)

Download

Edited by P5ych0Gigabyte

HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.

Share this post


Link to post
Share on other sites



The following are some UDFs that can be used to deal with power schemes. (such as balanced or high performance) I've tested on Windows 7 and XP and it should be compatible with Vista. However it would be nice if someone could test it on Vista. These functions should be useful for changing power schemes on the fly. I am also posting a program I have written that makes use of these UDFs.

_PowerScheme_List()
_PowerScheme_GetActive()
_PowerScheme_SetActive($sGUID)

Looks good. I just feel there is something missing....Not sure... Oh that's it...CODE ;)

I just couldn't resist :evil:

But seriously I think it's a great idea.

John

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Updated to V1.1.I fixed some bugs involving extra spaces being returned in the arrays Download from the first post.

Edited by P5ych0Gigabyte

HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0