Funktionreferenz


_WinAPI_UnregisterApplicationRestart


Removes the active instance of an application from the restart list

#include <WinAPIDiag.au3>
_WinAPI_UnregisterApplicationRestart ( )

Parameter

None.

Rückgabewert

Success: 1.
Failure: 0 and sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

Bemerkungen

You do not need to call this function before exiting. You need to remove the registration only if you choose to
not restart the application. For example, you could remove the registration if your application entered a corrupted
state where a future restart would also fail. You must call _WinAPI_UnregisterApplicationRestart() before the
application fails abnormally.

This function requires Windows Vista or later.

Verwandte Funktionen

_WinAPI_RegisterApplicationRestart

Siehe auch

Suche nach UnregisterApplicationRestart in der MSDN Bibliothek.