Skip to content

VitezslavImrysek/PowerCenter

Repository files navigation

PowerCenter

This project is a demonstration of UWP-Win32 bridge implementation.

Features

Provides quick access to power-related operations like "Sleep" and "Turn Display Off". These actions are accessible either through the application UI or through user-customizable global hotkeys. Application supports tray icon and automatic startup after user login.

Architecture

Result is packaged as MSIX. MSIX composes of two parts:

  • UWP part (PowerCenter.UWP): Contains UI.
  • Win32 part (PowerCenter.Win32Bridge): Shows tray icon. Provides power and hotkey services through calls to Win32 API.

These two parts share some common logic (PowerCenter.Shared) related to accessing user settings (hotkeys, startup) and sending action commands between the two parts. Communication itself is implemented through AppServiceConnection WinRT API. Startup task is implemented using StartupTask WinRT API.

🐱‍🏍

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages