Jump to content

Power Scheme UDFs


FuryCell
 Share

Recommended Posts

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.
Link to comment
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

Link to comment
Share on other sites

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.
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...