IA4PropSheetNotify::GetErrorMessage

Purpose

Called when errors are returned on ApplyChanges to retrieve the implementation's error message text.

Syntax

HRESULT STDMETHODCALLTYPE GetErrorMessage(
    char * pszErrMsg, 
    UINT cchMax
    );

Parameters

pszErrMsg
Address of the buffer that will receive the null-terminated error message.
cchMax
Size of the buffer that will receive the null-terminated error message.

Return Codes

Returns NOERROR if successful or E_FAIL if unable to retrieve the message text or if message text was too large to fit in the buffer.

Comments

None