Mina Brown cedb800012 Fix annotations for WinMain
Fix "C28251 Inconsistent annotation for function" compiler warning by correctly defining WinMain.
2025-08-15 11:44:51 -07:00
2025-08-15 11:44:51 -07:00
2025-08-14 23:20:15 -07:00
2025-08-09 00:27:33 -04:00

WinPowerDMS

A utility for switching the resolution of your laptop's display based on the current power state.

Currently a work in progress. It works reasonably well for a standard single display configuration, but other scenarios have not been extensively tested, and there are some edge cases that may need to be worked out.

This is a simple C program written using Visual Studio 2022 that has no external dependencies. It supports Windows Vista or higher.

TODO

  • Save preferences to the Windows registry.
  • Add a checkbox to preferences for starting at login.
  • Add an icon.
  • Add behavior for when multiple displays are connected.
  • Make the default display mode the current one instead of the highest resolution if there are no preferences set.
  • Make an actual about dialog.
  • Support dark mode.
Description
A utility for switching the resolution of your laptop's display based on the current power state.
Readme 185 KiB
Languages
C 100%