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.

20 lines
814 B

  1. #pragma once
  2. #include "Resource.h"
  3. //---------------------------------------------------------------------------
  4. // Error Methods
  5. //---------------------------------------------------------------------------
  6. HRESULT __cdecl AdmtSetError(const CLSID& clsid, const IID& iid, _com_error ce, UINT uId, ...);
  7. HRESULT __cdecl AdmtSetError(const CLSID& clsid, const IID& iid, _com_error ce, LPCTSTR pszFormat = NULL, ...);
  8. void __cdecl AdmtThrowError(const CLSID& clsid, const IID& iid, _com_error ce, UINT uId, ...);
  9. void __cdecl AdmtThrowError(const CLSID& clsid, const IID& iid, _com_error ce, LPCTSTR pszFormat = NULL, ...);
  10. //_bstr_t __cdecl FormatError(_com_error ce, UINT uId, ...);
  11. //_bstr_t __cdecl FormatError(_com_error ce, LPCTSTR pszFormat = NULL, ...);
  12. //_bstr_t __stdcall FormatResult(HRESULT hr);