Freigeben über


COleClientItem::GetLastStatus

Returns the status code of the last OLE operation.

SCODE GetLastStatus( ) const;

Return Value

An SCODE value.

Remarks

For member functions that return a BOOL value of FALSE, or other member functions that return NULL, GetLastStatus returns more detailed failure information. Be aware that most OLE member functions throw exceptions for more serious errors. The specific information on the interpretation of the SCODE depends on the underlying OLE call that last returned an SCODE value.

For more information on SCODE, see Structure of COM Error Codes in the Windows SDK documentation.

Requirements

Header: afxole.h

See Also

Concepts

COleClientItem Class

COleClientItem Members

Hierarchy Chart