Win_PostQuitMessage

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > Windows API >

Win_PostQuitMessage

 

Description

 

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

 

Syntax

 

n = Win_PostQuitMessage(ExitCode)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

ExitCode

Number

No

The application exit code. This value is used as the wParam parameter of the %WM_QUIT message

 

Remarks

 

For additional info, please refer to MS documentation at: http://msdn.microsoft.com/en-us/library/ms644945(VS.85).aspx

 

Restrictions

 

See also

 

Examples