Desktop Functions: Smart Device Functions:
|
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); |