Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "AbortSystemShutdown" in [All]

advapi32

. .
Summary
The AbortSystemShutdown function stops a system shutdown that has been initiated.
.

[DllImport("advapi32.dll")] static extern bool AbortSystemShutdown(String lpMachineName);

.

  AbortSystemShutdown(String lpMachineName);

.

    if(!AbortSystemShutdown(null)){ //Abort the system shutdown of the local machine

.
Documentation
[AbortSystemShutdown] on MSDN

 
Access PInvoke.net directly from VS: