User32PostQuitMessage Method

Indicates to the system that a thread has made a request to terminate (quit).

It is typically used in response to a WM_Destroy message.

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("User32.dll", ExactSpelling = true)]
public static void PostQuitMessage(
	[OptionalAttribute] int exitCode
)

Parameters

exitCode  Int32  (Optional)
The application exit code. This value is used as the wParam parameter of the WM_Quit message.

Remarks

See Also