Power user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <WinAPISys.au3>.

 

User Defined Function Description
_WinAPI_GetDefaultPrinter Retrieves the printer name of the default printer for the current user on the local computer
_WinAPI_GetPwrCapabilities Retrieves information about the system power capabilities
_WinAPI_GetSystemPowerStatus Retrieves the power status of the system
_WinAPI_RegisterPowerSettingNotification Registers the application to receive power setting notifications for the specific power setting event
_WinAPI_SetDefaultPrinter Sets the default printer for the current user on the local computer
_WinAPI_UnregisterPowerSettingNotification Unregisters the power setting notification