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
Download Visual Studio Add-In

Search Results for "RegisterApplicationRestart" in [All]

advapi32

.

     SHUTDOWN_RESTARTAPPS = &H80     ' restart applications that have been registered for restart using the RegisterApplicationRestart function

kernel32

.

static extern int RegisterApplicationRestart([MarshalAs(UnmanagedType.LPWStr)] string commandLineArgs, int Flags);

.

Declare Function RegisterApplicationRestart Lib "kernel32.dll" (commandLineArgs As String, Flags As Integer) As Integer

.

private static extern uint RegisterApplicationRestart(string pwsCommandLine, RestartFlags dwFlags);

.

      int RegisterResult = RegisterApplicationRestart(APPLICATION_CRASHED, RestartFlags.NONE);


 
Access PInvoke.net directly from VS: