Export (0) Print
Expand All
Expand Minimize

COleClientItem::GetLastStatus

Returns the status code of the last OLE operation.

SCODE GetLastStatus( ) const;

An SCODE value.

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.

Header: afxole.h

Show:
© 2015 Microsoft