⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hxresult.h

📁 linux下的一款播放器
💻 H
📖 第 1 页 / 共 3 页
字号:
/* ***** BEGIN LICENSE BLOCK ***** * Source last modified: $Id: hxresult.h,v 1.16.2.4 2004/07/09 01:45:13 hubbe Exp $ *  * Portions Copyright (c) 1995-2004 RealNetworks, Inc. All Rights Reserved. *  * The contents of this file, and the files included with this file, * are subject to the current version of the RealNetworks Public * Source License (the "RPSL") available at * http://www.helixcommunity.org/content/rpsl unless you have licensed * the file under the current version of the RealNetworks Community * Source License (the "RCSL") available at * http://www.helixcommunity.org/content/rcsl, in which case the RCSL * will apply. You may also obtain the license terms directly from * RealNetworks.  You may not use this file except in compliance with * the RPSL or, if you have a valid RCSL with RealNetworks applicable * to this file, the RCSL.  Please see the applicable RPSL or RCSL for * the rights, obligations and limitations governing use of the * contents of the file. *  * Alternatively, the contents of this file may be used under the * terms of the GNU General Public License Version 2 or later (the * "GPL") in which case the provisions of the GPL are applicable * instead of those above. If you wish to allow use of your version of * this file only under the terms of the GPL, and not to allow others * to use your version of this file under the terms of either the RPSL * or RCSL, indicate your decision by deleting the provisions above * and replace them with the notice and other provisions required by * the GPL. If you do not delete the provisions above, a recipient may * use your version of this file under the terms of any one of the * RPSL, the RCSL or the GPL. *  * This file is part of the Helix DNA Technology. RealNetworks is the * developer of the Original Code and owns the copyrights in the * portions it created. *  * This file, and the files included with this file, is distributed * and made available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY * KIND, EITHER EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS * ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET * ENJOYMENT OR NON-INFRINGEMENT. *  * Technology Compatibility Kit Test Suite(s) Location: *    http://www.helixcommunity.org/content/tck *  * Contributor(s): *  * ***** END LICENSE BLOCK ***** */#ifndef _HXRESULT_H_#define _HXRESULT_H_/* Some files include this before pntypes.h. */#include "hxtypes.h"typedef LONG32  HX_RESULT;#ifndef _WIN32    typedef HX_RESULT HRESULT;#   undef NOERROR#   define NOERROR 0#   define FACILITY_ITF 4#   define MAKE_HRESULT(sev,fac,code)                                           \        ((HRESULT) (((unsigned long)(sev)<<31) | ((unsigned long)(fac)<<16) |   \        ((unsigned long)(code))) )#   define SUCCEEDED(Status) (((unsigned long)(Status)>>31) == 0)#   define FAILED(Status) (((unsigned long)(Status)>>31) != 0)#else#   ifndef _HRESULT_DEFINED        typedef LONG32 HRESULT;#   endif       /* _HRESULT_DEFINED */#   include <winerror.h>#endif /* _WIN32 */#define MAKE_HX_RESULT(sev,fac,code) MAKE_HRESULT(sev, FACILITY_ITF,        \    ((fac << 6) | (code)))#define SS_GLO 0  /* General errors                             */#define SS_NET 1  /* Networking errors                          */#define SS_FIL 2  /* File errors                                */#define SS_PRT 3  /* Protocol Error                             */#define SS_AUD 4  /* Audio error                                */#define SS_INT 5  /* General internal errors                    */#define SS_USR 6  /* The user is broken.                        */#define SS_MSC 7  /* Miscellaneous                              */#define SS_DEC 8  /* Decoder errors                             */#define SS_ENC 9  /* Encoder errors                             */#define SS_REG 10 /* Registry (not Windows registry ;) errors   */#define SS_PPV 11 /* Pay Per View errors                        */#define SS_RSC 12 /* Errors for HXXRES */#define SS_UPG 13 /* Auto-upgrade & Certificate Errors          */#define SS_PLY 14 /* RealPlayer/Plus specific errors (USE ONLY IN /rpmisc/pub/rpresult.h) */#define SS_RMT 15 /* RMTools Errors                             */#define SS_CFG 16 /* AutoConfig Errors                          */#define SS_RPX 17 /* RealPix-related Errors */#define SS_XML 18 /* XML-related Errors                         */// $Private:#define SS_TKO 19 /* Taiko specific errors (USE ONLY IN /taiko/tresult.h) */#define SS_SEC 20 /* Security (key handling, encrypt,decrypt, CSP,...) errors */// $EndPrivate.#define SS_RCA 21 /* RCA errors                                 */#define SS_ENC_AX 22 /* Encoder Active x error                  */#define SS_DPR 63 /* Deprecated errors                          */#define SS_SAM 100 /* ServerAlert errors                        */#define HXR_NOTIMPL                     MAKE_HRESULT(1,0,0x4001)                    // 80004001#define HXR_OUTOFMEMORY                 MAKE_HRESULT(1,7,0x000e)                    // 8007000e#define HXR_INVALID_PARAMETER           MAKE_HRESULT(1,7,0x0057)                    // 80070057#define HXR_NOINTERFACE                 MAKE_HRESULT(1,0,0x4002)                    // 80004002#define HXR_POINTER                     MAKE_HRESULT(1,0,0x4003)                    // 80004003#define HXR_HANDLE                      MAKE_HRESULT(1,7,0x0006)                    // 80070006#define HXR_ABORT                       MAKE_HRESULT(1,0,0x4004)                    // 80004004#define HXR_FAIL                        MAKE_HRESULT(1,0,0x4005)                    // 80004005#define HXR_ACCESSDENIED                MAKE_HRESULT(1,7,0x0005)                    // 80070005#define HXR_IGNORE                      MAKE_HRESULT(1,0,0x0006)                    // 80000006#define HXR_OK                          MAKE_HRESULT(0,0,0)                         // 00000000#define HXR_INVALID_OPERATION           MAKE_HX_RESULT(1,SS_GLO,4)                  // 80040004#define HXR_INVALID_VERSION             MAKE_HX_RESULT(1,SS_GLO,5)                  // 80040005#define HXR_INVALID_REVISION            MAKE_HX_RESULT(1,SS_GLO,6)                  // 80040006#define HXR_NOT_INITIALIZED             MAKE_HX_RESULT(1,SS_GLO,7)                  // 80040007#define HXR_DOC_MISSING                 MAKE_HX_RESULT(1,SS_GLO,8)                  // 80040008#define HXR_UNEXPECTED                  MAKE_HX_RESULT(1,SS_GLO,9)                  // 80040009#define HXR_INCOMPLETE                  MAKE_HX_RESULT(1,SS_GLO,12)                 // 8004000c#define HXR_BUFFERTOOSMALL              MAKE_HX_RESULT(1,SS_GLO,13)                 // 8004000d#define HXR_UNSUPPORTED_VIDEO           MAKE_HX_RESULT(1,SS_GLO,14)                 // 8004000e#define HXR_UNSUPPORTED_AUDIO           MAKE_HX_RESULT(1,SS_GLO,15)                 // 8004000f#define HXR_INVALID_BANDWIDTH           MAKE_HX_RESULT(1,SS_GLO,16)                 // 80040010/* HXR_NO_RENDERER and HXR_NO_FILEFORMAT old value is being deprecated#define HXR_NO_FILEFORMAT               MAKE_HX_RESULT(1,SS_GLO,10)#define HXR_NO_RENDERER                 MAKE_HX_RESULT(1,SS_GLO,11)*/#define HXR_NO_RENDERER                 MAKE_HX_RESULT(1,SS_GLO,17)                 // 80040011#define HXR_NO_FILEFORMAT               MAKE_HX_RESULT(1,SS_GLO,17)                 // 80040011#define HXR_MISSING_COMPONENTS          MAKE_HX_RESULT(1,SS_GLO,17)                 // 80040011#define HXR_ELEMENT_NOT_FOUND           MAKE_HX_RESULT(0,SS_GLO,18)                 // 00040012#define HXR_NOCLASS                     MAKE_HX_RESULT(0,SS_GLO,19)                 // 00040013#define HXR_CLASS_NOAGGREGATION         MAKE_HX_RESULT(0,SS_GLO,20)                 // 00040014#define HXR_NOT_LICENSED                MAKE_HX_RESULT(1,SS_GLO,21)                 // 80040015#define HXR_NO_FILESYSTEM               MAKE_HX_RESULT(1,SS_GLO,22)                 // 80040016#define HXR_REQUEST_UPGRADE             MAKE_HX_RESULT(1,SS_GLO,23)                 // 80040017#define HXR_CHECK_RIGHTS               MAKE_HX_RESULT(1,SS_GLO,24)                 // 80040018#define HXR_RESTORE_SERVER_DENIED      MAKE_HX_RESULT(1,SS_GLO,25)                 // 80040019#define HXR_DEBUGGER_DETECTED          MAKE_HX_RESULT(1,SS_GLO,26)                 // 8004001a#define HXR_RESTORE_SERVER_CONNECT     MAKE_HX_RESULT(1,SS_NET,28)                 // 8004005c#define HXR_RESTORE_SERVER_TIMEOUT     MAKE_HX_RESULT(1,SS_NET,29)                 // 8004005d#define HXR_REVOKE_SERVER_CONNECT      MAKE_HX_RESULT(1,SS_NET,30)                 // 8004005e#define HXR_REVOKE_SERVER_TIMEOUT      MAKE_HX_RESULT(1,SS_NET,31)                 // 8004005f#define HXR_VIEW_RIGHTS_NODRM          MAKE_HX_RESULT(1,SS_MSC,13)                 // 800401cd#define HXR_VSRC_NODRM                 MAKE_HX_RESULT(1,SS_MSC,19)                 // 800401d3// $Private:/* Status Code for backup/restore*/#define HXR_RESTORATION_COMPLETE        MAKE_HX_RESULT(1,SS_GLO,27)                 // 8004001b#define HXR_BACKUP_COMPLETE             MAKE_HX_RESULT(1,SS_GLO,28)                 // 8004001c#define HXR_TLC_NOT_CERTIFIED           MAKE_HX_RESULT(1,SS_GLO,29)                 // 8004001d#define HXR_CORRUPTED_BACKUP_FILE       MAKE_HX_RESULT(1,SS_GLO,30)                 // 8004001e// $EndPrivate.#define HXR_AWAITING_LICENSE            MAKE_HX_RESULT(1,SS_GLO,31)                 // 8004001f#define HXR_ALREADY_INITIALIZED         MAKE_HX_RESULT(1,SS_GLO,32)                 // 80040020#define HXR_NOT_SUPPORTED               MAKE_HX_RESULT(1,SS_GLO,33)                 // 80040021#define HXR_S_FALSE                     MAKE_HX_RESULT(0,SS_GLO,34)                 // 00040022#define PNR_WARNING                     MAKE_HX_RESULT(0,SS_GLO,35)                 // 00040023#define HXR_BUFFERING                   MAKE_HX_RESULT(0,SS_NET,0)                  // 00040040#define HXR_PAUSED                      MAKE_HX_RESULT(0,SS_NET,1)                  // 00040041#define HXR_NO_DATA                     MAKE_HX_RESULT(0,SS_NET,2)                  // 00040042#define HXR_STREAM_DONE                 MAKE_HX_RESULT(0,SS_NET,3)                  // 00040043#define HXR_NET_SOCKET_INVALID          MAKE_HX_RESULT(1,SS_NET,3)                  // 80040043#define HXR_NET_CONNECT                 MAKE_HX_RESULT(1,SS_NET,4)                  // 80040044#define HXR_BIND                        MAKE_HX_RESULT(1,SS_NET,5)                  // 80040045#define HXR_SOCKET_CREATE               MAKE_HX_RESULT(1,SS_NET,6)                  // 80040046#define HXR_INVALID_HOST                MAKE_HX_RESULT(1,SS_NET,7)                  // 80040047#define HXR_NET_READ                    MAKE_HX_RESULT(1,SS_NET,8)                  // 80040048#define HXR_NET_WRITE                   MAKE_HX_RESULT(1,SS_NET,9)                  // 80040049#define HXR_NET_UDP                     MAKE_HX_RESULT(1,SS_NET,10)                 // 8004004a#define HXR_RETRY                       MAKE_HX_RESULT(1,SS_NET,11) /* XXX */       // 8004004b#define HXR_SERVER_TIMEOUT              MAKE_HX_RESULT(1,SS_NET,12)                 // 8004004c#define HXR_SERVER_DISCONNECTED         MAKE_HX_RESULT(1,SS_NET,13)                 // 8004004d#define HXR_WOULD_BLOCK                 MAKE_HX_RESULT(1,SS_NET,14)                 // 8004004e#define HXR_GENERAL_NONET               MAKE_HX_RESULT(1,SS_NET,15)                 // 8004004f#define HXR_BLOCK_CANCELED              MAKE_HX_RESULT(1,SS_NET,16) /* XXX */       // 80040050#define HXR_MULTICAST_JOIN              MAKE_HX_RESULT(1,SS_NET,17)                 // 80040051#define HXR_GENERAL_MULTICAST           MAKE_HX_RESULT(1,SS_NET,18)                 // 80040052#define HXR_MULTICAST_UDP               MAKE_HX_RESULT(1,SS_NET,19)                 // 80040053

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -