#include <ole2.h>
#include <comutil.h>
#include <olectl.h>
#include <comip.h>
#include "comdefsp.h"
 
Go to the source code of this file.
 | 
| void  | __declspec (noreturn) __stdcall _com_raise_error(HRESULT hr | 
|   | 
| void __stdcall  | _set_com_error_handler (void(__stdcall *pHandler)(HRESULT hr, IErrorInfo *perrinfo)) | 
|   | 
| void __stdcall  | _com_issue_error (HRESULT) | 
|   | 
| void __stdcall  | _com_issue_errorex (HRESULT, IUnknown *, REFIID) | 
|   | 
| HRESULT __stdcall  | _com_dispatch_propget (IDispatch *, DISPID, VARTYPE, void *) | 
|   | 
| HRESULT __cdecl  | _com_dispatch_propput (IDispatch *, DISPID, VARTYPE,...) | 
|   | 
| HRESULT __cdecl  | _com_dispatch_method (IDispatch *, DISPID, WORD, VARTYPE, void *, const wchar_t *,...) | 
|   | 
| HRESULT __stdcall  | _com_dispatch_raw_propget (IDispatch *, DISPID, VARTYPE, void *)  throw () | 
|   | 
| HRESULT __cdecl  | _com_dispatch_raw_propput (IDispatch *, DISPID, VARTYPE,...)  throw () | 
|   | 
| HRESULT __cdecl  | _com_dispatch_raw_method (IDispatch *, DISPID, WORD, VARTYPE, void *, const wchar_t *,...)  throw () | 
|   | 
      
        
          | #define _COM_SMARTPTR_TYPEDEF | 
          ( | 
            | 
          Interface,  | 
        
        
           | 
           | 
            | 
          IID  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:typedef _COM_SMARTPTR<_COM_SMARTPTR_LEVEL2<Interface, &IID> > \
            Interface ## Ptr
 
 
 
      
        
          | void __declspec  | 
          ( | 
          noreturn  | 
           | ) | 
           | 
        
      
 
 
      
        
          | HRESULT __cdecl _com_dispatch_method  | 
          ( | 
          IDispatch *  | 
          ,  | 
        
        
           | 
           | 
          DISPID  | 
          ,  | 
        
        
           | 
           | 
          WORD  | 
          ,  | 
        
        
           | 
           | 
          VARTYPE  | 
          ,  | 
        
        
           | 
           | 
          void *  | 
          ,  | 
        
        
           | 
           | 
          const wchar_t *  | 
          ,  | 
        
        
           | 
           | 
            | 
          ...  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | HRESULT __stdcall _com_dispatch_propget  | 
          ( | 
          IDispatch *  | 
          ,  | 
        
        
           | 
           | 
          DISPID  | 
          ,  | 
        
        
           | 
           | 
          VARTYPE  | 
          ,  | 
        
        
           | 
           | 
          void *  | 
            | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | HRESULT __cdecl _com_dispatch_propput  | 
          ( | 
          IDispatch *  | 
          ,  | 
        
        
           | 
           | 
          DISPID  | 
          ,  | 
        
        
           | 
           | 
          VARTYPE  | 
          ,  | 
        
        
           | 
           | 
            | 
          ...  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | HRESULT __cdecl _com_dispatch_raw_method  | 
          ( | 
          IDispatch *  | 
          ,  | 
        
        
           | 
           | 
          DISPID  | 
          ,  | 
        
        
           | 
           | 
          WORD  | 
          ,  | 
        
        
           | 
           | 
          VARTYPE  | 
          ,  | 
        
        
           | 
           | 
          void *  | 
          ,  | 
        
        
           | 
           | 
          const wchar_t *  | 
          ,  | 
        
        
           | 
           | 
            | 
          ...  | 
        
        
           | 
          ) | 
           |  | 
        
        
          | throw  | ( |  | 
        
        
           | ) |  |  | 
        
      
 
 
      
        
          | HRESULT __stdcall _com_dispatch_raw_propget  | 
          ( | 
          IDispatch *  | 
          ,  | 
        
        
           | 
           | 
          DISPID  | 
          ,  | 
        
        
           | 
           | 
          VARTYPE  | 
          ,  | 
        
        
           | 
           | 
          void *  | 
            | 
        
        
           | 
          ) | 
           |  | 
        
        
          | throw  | ( |  | 
        
        
           | ) |  |  | 
        
      
 
 
      
        
          | HRESULT __cdecl _com_dispatch_raw_propput  | 
          ( | 
          IDispatch *  | 
          ,  | 
        
        
           | 
           | 
          DISPID  | 
          ,  | 
        
        
           | 
           | 
          VARTYPE  | 
          ,  | 
        
        
           | 
           | 
            | 
          ...  | 
        
        
           | 
          ) | 
           |  | 
        
        
          | throw  | ( |  | 
        
        
           | ) |  |  | 
        
      
 
 
      
        
          | void __stdcall _com_issue_error  | 
          ( | 
          HRESULT  | 
           | ) | 
           | 
        
      
 
 
      
        
          | void __stdcall _com_issue_errorex  | 
          ( | 
          HRESULT  | 
          ,  | 
        
        
           | 
           | 
          IUnknown *  | 
          ,  | 
        
        
           | 
           | 
          REFIID  | 
            | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | void __stdcall _set_com_error_handler  | 
          ( | 
          void(__stdcall *pHandler)(HRESULT hr, IErrorInfo *perrinfo)  | 
           | ) | 
           | 
        
      
 
 
      
        
          | void IErrorInfo* perrinfo = 0) |