Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
307 B

  1. //
  2. // Throw a com_error object. In a separate file so users can easily define
  3. // their own to replace this one.
  4. //
  5. #include <comdef.h>
  6. #pragma hdrstop
  7. #pragma warning(disable:4290)
  8. void __stdcall
  9. _com_raise_error(HRESULT hr, IErrorInfo* perrinfo) throw(_com_error)
  10. {
  11. throw _com_error(hr, perrinfo);
  12. }