reference:plugins:plugin_sdk:batch_mode_functions:showerrordlg

ShowErrorDlg(
     LPVFSFUNCDATA:lpVFSData,
     HWND:hWndParent,
     UINT:uiType,
     int:iErrorCode,
     UINT:uiAction,
     LPCTSTR:lpszName,
     LPCTSTR:lpszErrMsg
)
→ int

Arguments

lpVFSData

hWndParent

[in] Parent window for the dialog.

uiType

[in] The type of error dialog to display. Valid values are:

ERRORTYPE_RETRY_SKIP_CANCEL
ERRORTYPE_RETRY_CANCEL
ERRORTYPE_SKIP_CANCEL
ERRORTYPE_OK
ERRORTYPE_OK_SKIP_CANCEL
ERRORTYPE_SCHEDULE_RETRY_SKIP_CANCEL

iErrorCode

[in]

uiAction

[in] The type of operation taking place when the error occurred. Valid values are:

ERRORACTION_COPY
ERRORACTION_MOVE
ERRORACTION_DELETE
ERRORACTION_MAKEDIR
ERRORACTION_RENAME
ERRORACTION_SHORTCUT
ERRORACTION_UNDELETE
ERRORACTION_MODIFY
ERRORACTION_SPLIT
ERRORACTION_MAKEARC
ERRORACTION_READ
ERRORACTION_WRITE
ERRORACTION_READARCHIVE

lpszName

[in]

lpszErrMsg

[in]

Return value

The return value depends upon the choice made by the user. Valid return values are:

ERRORRESULT_ABORT
ERRORRESULT_RETRY
ERRORRESULT_SKIP
ERRORRESULT_SKIP_ALL
ERRORRESULT_SCHEDULE
ERRORRESULT_SCHEDULE_ALL
ERRORRESULT_OK

Description

The ShowErrorDlg function displays the standard Opus error dialog. It is similar to ShowFunctionErrorDlg, but takes a parent window handle instead of batch operation data.