Skip to content

Latest commit

 

History

History
 
 

runner

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

PowerToys Runner

Introduction

The PowerToys Runner contains the project for the PowerToys.exe executable. It's responsible for:

  • Loading the individual PowerToys modules.
  • Passing registered events to the PowerToys.
  • Showing a system tray icon to manage the PowerToys.
  • Bridging between the PowerToys modules and the Settings editor.

Image of the tray icon

Code organization

Contains the executable starting point, initialization code and the list of known PowerToys.

Contains code for initializing and managing the PowerToy modules.

Contains code that handles the various events listeners, and forwards those events to the PowerToys modules.

Contains code for registering the low level keyboard event hook that listens for keyboard events.

Contains code for registering a Windows event hook through SetWinEventHook, that listens for various events raised when a window is interacted with.

Contains code for managing the PowerToys tray icon and its menu commands.

Contains code for starting the PowerToys settings window and communicating with it.

Contains code for loading, saving and applying the general setings.

Contains helper code for registering and unregistering PowerToys to run when the user logs in.

Contains helper code to get stack traces in builds. Can be used by adding a call to init_global_error_handlers in WinMain.

Contains code for telemetry.

Contains the SVG assets used by the PowerToys modules.