_com_error::_com_error

Microsoft Specific

_com_error( HRESULT hr, IErrorInfo* perrinfo = NULL ) throw( );

_com_error( const _com_error& that ) throw( );

Parameters

hr

HRESULT information

perrinfo

IErrorInfo object

that

An existing _com_error object

Remarks

Constructs a _com_error object. The first constructor creates a new object given an HRESULT and optional IErrorInfo object. The second creates a copy of an existing _com_error object.

_com_error Overview

END Microsoft Specific