@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: Releases a power requirement previously set with SetPowerRequirement !!!!C# Signature: [DllImport("advapi32.dll", SetLastError=true)] static extern int ReleasePowerRequirement(int hPowerReq); !!!!Alternative Managed API: Do you know one? Please contribute it! !!!!Notes: You can get hPowerReq by calling SetPowerRequirement. !!!!Tips & Tricks: Please add some! !!!!Sample Code: int backlightHandle; public KeepBacklightAlive() { backlightHandle = NativeMethods.SetPowerRequirement("BKL1:", DevicePowerState.D0, 1, null, 0); } public void StopKeepingBacklightAlive() { NativeMethods.ReleasePowerRequirement(backlightHandle); } Documentation: ReleasePowerRequirement@msdn on MSDN
Edit advapi32.ReleaseP...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.