Name

PostQuitMessage

Synopsis

Posts a WM_QUIT message to the message queue of the thread that called this function:

Public Declare Sub PostQuitMessage Lib "user32" Alias "PostQuitMessage" _
		(ByVal nExitCode As Long)

Parameters

nExitCode

A code that is sent to the wParam parameter of the WM_QUIT message

Return Value

None

Get Subclassing and Hooking with Visual Basic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.