![]() |
HRESULT MessageBoxAction(
[in] LONG session,
[in]LONG type,
[in] BSTR message,
[in] BSTR caption,
[out] LONG* actionToTake
);
0 = The message box contains one push button: OK (MB_OK)1 = The message box contains three push buttons: Yes, No, and Cancel (MB_OKCANCEL)2 = The message box contains three push buttons: Abort, Retry, and Ignore (MB_ABORTRETRYIGNORE)3 = The message box contains three push buttons: Yes, No, and Cancel (MB_YESNOCANCEL)4 = The message box contains two push buttons: Yes and No (MB_YESNO)5 = The message box contains two push buttons: Retry and Cancel (MB_RETRYCANCEL) [out] Pointer to a variable that receives a value that represents the action to take.1 = OK2 = CANCEL3 = ABORT4 = RETRY5 = IGNORE6 = YES7 = NO