Kernel32UnregisterApplicationRestart Method

Removes the active instance of an application from the restart list.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Kernel32.dll", ExactSpelling = true)]
public static HResult UnregisterApplicationRestart()

Return Value

HResult
This function returns S_OK on success, or an HResult error code on fail.

Remarks

See Also