Advertisement
7_2009-2012 System Services/ Functions #223291

Kill Process

The utility first attempts to end the process by posting WM_CLOSE to the main window(s). If it fails or if the application is window-less (i.e.: a NT Service), it then opens the process handle and terminates it by calling TerminateProcess function. Be ware, that this code can be some what dangerous, because it adjusts its own process token to allow debug privilages, which can force even a NT service ran under LOCALSYSTEM account to close (can be handy though). The project and workspace are for MSVC++ 6.

AI

Shrnutí AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Zdrojový kód
original-source
Upload
Původní komentáře (3)
Obnoveno z Wayback Machine