IDispError::GetSource

Returns the language-dependent programmatic identifier for the class or application that raised the error.

Syntax

HRESULT GetSource(  
   BSTR*  pbstrSource  
);  

Parameters

pbstrSource
[out] String that contains a programmatic identifier, in the form progname.objectname.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description
S_OK The method succeeded.

Remarks

This method is used to determine the class or application where the exception occurred. The programmatic identifier may be returned in the language specified by the locale identifier (LCID) supplied at the time of invocation.

Note

This method is not implemented.

See also

IDispError Interface