windows-nt/Source/XPSP1/NT/enduser/vccomsupport/comraise.cpp
2020-09-26 16:20:57 +08:00

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);
}