hwndParent (HWND) - input
HWND_DESKTOP
hwndOwner (HWND) - input
The actual owner window is calculated using the algorithm specified in the description of the WinLoadDlg function.
pszText (PSZ) - input
The text of the message to be displayed within the message-box window. If multiple lines are required, carriage-return characters must be inserted into the text at appropriate points.
pszCaption (PSZ) - input
The text for the title should not be longer than 40 characters. If text longer than this is supplied, text centering is still performed, even though the beginning and end of the string are not visible.
NULL
idWindow (ULONG) - input
This value is passed to the HK_HELP hook if the WM_HELP message is received by the message-box window. It must be greater or equal to 0 and less or equal to 0xFFFF.
flStyle (ULONG) - input
These values may be combined using the logical-OR operation but only one value can be taken from each of the following groups.
Button or Button Group
MB_OK
MB_HELP
MB_ERROR
MB_DEFBUTTON1
MB_APPLMODAL
MB_MOVEABLE
The message box is displayed with a title bar and a system menu, which shows only the Move, Close, and Task Manager choices, which can be selected either by use of the pointing device or by accelerator keys.
If the user selects Close, the message box is removed and the usResponse is set to MBID_CANCEL, whether or not a cancel button existed within the message box.
usResponse (ULONG) - returns
MBID_ENTER