#include <shellapi.h>#include <shlobj.h>


Go to the source code of this file.
Data Structures | |
| struct | COMExceptionBase |
| COM ExceptionBase class as replacement for _com_error. More... | |
| struct | COMException |
| Exception with context information. More... | |
| struct | ComInit |
| COM Initialisation. More... | |
| struct | OleInit |
| OLE initialisation for drag drop support. More... | |
| struct | SIfacePtr< T > |
| wrapper class for COM interface pointers More... | |
Defines | |
| #define | THROW_EXCEPTION(hr) throw COMException(hr, __FILE__, __LINE__) |
| #define | CHECKERROR(hr) ((void)(FAILED(hr)? THROW_EXCEPTION(hr): 0)) |
Functions | |
| void | CheckError (HRESULT hr) |
| void | HandleException (COMException &e, HWND hwnd) |
| Exception Handler for COM exceptions. | |
| #define CHECKERROR | ( | hr | ) | ((void)(FAILED(hr)? THROW_EXCEPTION(hr): 0)) |
Definition at line 148 of file comutil.h.
Referenced by ComInit::ComInit(), OleInit::OleInit(), and SIfacePtr< IOleInPlaceObject >::SIfacePtr().
| #define THROW_EXCEPTION | ( | hr | ) | throw COMException(hr, __FILE__, __LINE__) |
| void CheckError | ( | HRESULT | hr | ) | [inline] |
Definition at line 153 of file comutil.h.
Referenced by ConnectionPoint< T >::ConnectionPoint(), and EventConnection::EventConnection().
00154 { 00155 if (FAILED(hr)) 00156 throw COMException(hr); 00157 }

| void HandleException | ( | COMException & | e, | |
| HWND | hwnd | |||
| ) |
Exception Handler for COM exceptions.
|
IBrowser Source Code Documentation
generated on 18.09.2008 by
|