#include <comdef.h>
| Enumerator | 
|---|
| WCODE_HRESULT_FIRST  | 
 | 
| WCODE_HRESULT_LAST  | 
 | 
 
 
  
  
      
        
          | _com_error::_com_error  | 
          ( | 
          HRESULT  | 
          hr,  | 
         
        
           | 
           | 
          IErrorInfo *  | 
          perrinfo = NULL,  | 
         
        
           | 
           | 
          bool  | 
          fAddRef = false  | 
         
        
           | 
          ) | 
           |  | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
inline   | 
  
 
const HRESULT m_hresult
Definition: comdef.h:292
 
TCHAR * m_pszMsg
Definition: comdef.h:294
 
void IErrorInfo * perrinfo
Definition: comdef.h:221
 
IErrorInfo * m_perrinfo
Definition: comdef.h:293
 
#define NULL
Definition: corecrt.h:158
 
 
 
 
  
  
      
        
          | _com_error::_com_error  | 
          ( | 
          const _com_error &  | 
          that | ) | 
           | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
inline   | 
  
 
const HRESULT m_hresult
Definition: comdef.h:292
 
TCHAR * m_pszMsg
Definition: comdef.h:294
 
IErrorInfo * m_perrinfo
Definition: comdef.h:293
 
#define NULL
Definition: corecrt.h:158
 
 
 
 
  
  
      
        
          | _com_error::~_com_error  | 
          ( | 
           | ) | 
           | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
inlinevirtual   | 
  
 
TCHAR * m_pszMsg
Definition: comdef.h:294
 
IErrorInfo * m_perrinfo
Definition: comdef.h:293
 
#define NULL
Definition: corecrt.h:158
 
 
 
 
  
  
      
        
          | _bstr_t _com_error::Description  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Definition: comutil.h:144
 
#define FAILED(hr)
Definition: comutil.h:71
 
IErrorInfo * m_perrinfo
Definition: comdef.h:293
 
#define NULL
Definition: corecrt.h:158
 
 
 
 
  
  
      
        
          | HRESULT _com_error::Error  | 
          ( | 
           | ) | 
           const | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
inline   | 
  
 
const HRESULT m_hresult
Definition: comdef.h:292
 
 
 
 
  
  
      
        
          | IErrorInfo * _com_error::ErrorInfo  | 
          ( | 
           | ) | 
           const | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
inline   | 
  
 
IErrorInfo * m_perrinfo
Definition: comdef.h:293
 
#define NULL
Definition: corecrt.h:158
 
 
 
 
  
  
      
        
          | const TCHAR * _com_error::ErrorMessage  | 
          ( | 
           | ) | 
           const | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
inline   | 
  
 
  410         FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER|
 
  411                           FORMAT_MESSAGE_FROM_SYSTEM|
 
  412                           FORMAT_MESSAGE_IGNORE_INSERTS,
 
  415                       MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
 
  425             if (nLen > 1 && 
m_pszMsg[nLen - 1] == 
'\n') {
 
  435                 WORD wCode = 
WCode();
 
const HRESULT m_hresult
Definition: comdef.h:292
 
char TCHAR
Definition: tchar.h:2107
 
TCHAR * m_pszMsg
Definition: comdef.h:294
 
_Check_return_ size_t __cdecl strlen(_In_z_ char const *_Str)
 
#define _COM_PRINTF_S_1(dest, destsize, format, arg1)
Definition: comutil.h:49
 
_Check_return_ _ACRTIMP size_t __cdecl wcslen(_In_z_ wchar_t const *_String)
 
WORD WCode() const 
Definition: comdef.h:339
 
#define NULL
Definition: corecrt.h:158
 
 
 
 
  
  
      
        
          | _GUID _com_error::GUID  | 
          ( | 
           | ) | 
           const | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
inline   | 
  
 
#define FAILED(hr)
Definition: comutil.h:71
 
IErrorInfo * m_perrinfo
Definition: comdef.h:293
 
#define NULL
Definition: corecrt.h:158
 
 
 
 
  
  
      
        
          | DWORD _com_error::HelpContext  | 
          ( | 
           | ) | 
           const | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
inline   | 
  
 
  365     DWORD dwHelpContext = 0;
 
  371     return dwHelpContext;
 
#define FAILED(hr)
Definition: comutil.h:71
 
unsigned long DWORD
Definition: concrt.h:63
 
IErrorInfo * m_perrinfo
Definition: comdef.h:293
 
#define NULL
Definition: corecrt.h:158
 
 
 
 
  
  
      
        
          | _bstr_t _com_error::HelpFile  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Definition: comutil.h:144
 
#define FAILED(hr)
Definition: comutil.h:71
 
IErrorInfo * m_perrinfo
Definition: comdef.h:293
 
#define NULL
Definition: corecrt.h:158
 
 
 
 
  
  
      
        
          | WORD _com_error::HRESULTToWCode  | 
          ( | 
          HRESULT  | 
          hr | ) | 
           | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
inlinestatic   | 
  
 
 
virtual ~_com_error()
Definition: comdef.h:315
 
_com_error(HRESULT hr, IErrorInfo *perrinfo=NULL, bool fAddRef=false)
Definition: comdef.h:297
 
 
 
 
  
  
      
        
          | _bstr_t _com_error::Source  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Definition: comutil.h:144
 
#define FAILED(hr)
Definition: comutil.h:71
 
IErrorInfo * m_perrinfo
Definition: comdef.h:293
 
#define NULL
Definition: corecrt.h:158
 
 
 
 
  
  
      
        
          | WORD _com_error::WCode  | 
          ( | 
           | ) | 
           const | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
inline   | 
  
 
const HRESULT m_hresult
Definition: comdef.h:292
 
static WORD HRESULTToWCode(HRESULT hr)
Definition: comdef.h:453
 
 
 
 
  
  
      
        
          | HRESULT _com_error::WCodeToHRESULT  | 
          ( | 
          WORD  | 
          wCode | ) | 
           | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
inlinestatic   | 
  
 
 
  
  
      
        
          | const HRESULT _com_error::m_hresult | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | IErrorInfo* _com_error::m_perrinfo | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | TCHAR* _com_error::m_pszMsg | 
         
       
   | 
  
mutableprivate   | 
  
 
 
The documentation for this class was generated from the following file: