17 lines
307 B
C++
17 lines
307 B
C++
//
|
|
// Throw a com_error object. In a separate file so users can easily define
|
|
// their own to replace this one.
|
|
//
|
|
|
|
#include <comdef.h>
|
|
|
|
#pragma hdrstop
|
|
|
|
#pragma warning(disable:4290)
|
|
|
|
void __stdcall
|
|
_com_raise_error(HRESULT hr, IErrorInfo* perrinfo) throw(_com_error)
|
|
{
|
|
throw _com_error(hr, perrinfo);
|
|
}
|