void ShowError(
HRESULT hrInput,
WORD idPropPageTitle);
Parameters
hrInput
Error code returned by a control property or method.
idPropPageTitle
String resource used for the error message box title. The error macros use IDS_SHOW_ERROR_TITLE as the string resource ID.
Comments
Shows an error message box using exception information that is thrown by the control before calling this function. This function is usually called by the above error macros. If no exception information is available, then the generic error message is displayed.