MsWTEError.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:1k
源码类别:

模拟服务器

开发平台:

C/C++

  1. /************************************************************************
  2. *                                                                       *
  3. *   mswteError.h --  error code definitions for Web Telephony Engine.   *
  4. *                                                                       *
  5. *   Copyright (c) 1991-1999, Microsoft Corp. All rights reserved.       *
  6. *                                                                       *
  7. ************************************************************************/
  8. #ifndef MSWTEERROR_H_INCLUDED
  9. #define MSWTEERROR_H_INCLUDED
  10.    
  11. #include <WinError.h>
  12. #define WTE_ERR(_code) MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, _code)
  13. #define E_WTE_NO_STORAGE                          WTE_ERR(0x200)
  14. #define E_WTE_OBJECT_INVALID                      WTE_ERR(0x201)
  15. #define E_WTE_CORRUPTED_OBJECT_DATA               WTE_ERR(0x202)
  16. #define E_WTE_INVALID_SERVER_NAME                 WTE_ERR(0x203)
  17. #define E_WTE_STRING_CONTAINS_INVALID_CHARACTERS  WTE_ERR(0x204)
  18. #define E_WTE_EMPTY_STRING                        WTE_ERR(0x205)
  19. #define E_WTE_VALUE_TOO_LARGE                     WTE_ERR(0x206)
  20. #define E_WTE_VALUE_TOO_SMALL                     WTE_ERR(0x207)
  21. #define E_WTE_CREATE_CHILD_INSTANCE_FAILED        WTE_ERR(0x208)
  22. #endif // ! MSWTEERROR_H_INCLUDED