IErrorInfo::GetSource (Windows CE 5.0)

Send Feedback

This method returns the language-dependent programmatic identifier for the class or application that raised the error.

HRESULT GetSource( BSTR* pBstrSource );

Parameters

  • pBstrSource
    [out] Pointer to a string that contains a programmatic identifier, in the form progname.objectname.

Return Values

If the method succeeds, the return value is S_OK.

Remarks

Use GetSource to determine the class or application that is the source of the error. The language for the returned programmatic identifier depends on the locale identifier (LCID) that was passed into the method at the time of invocation.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Oaidl.h, Oaidl.idl.
Link Library: Oleaut32.lib, Uuid.lib.

See Also

IErrorInfo

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.