Signal a Windows Application to Terminate from Another Process
Signaling one Windows Process to terminate from another process via a named event object.
Signaling one Windows Process to terminate from another process via a named event object.
Preventing unwanted end-user notification dialogs when your Windows application unexpectedly terminates.
Capturing Windows Power Events in a Console Application On Windows XP and Later Using a Hidden Window.