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

📄 drmerrors.h

📁 ZORAN 962/966 SOURCE CODE,DVD chip
💻 H
字号:
/*
// $Header: /I76/I76_Common/I76_Reference/Playcore/Nav_Clips/AviDrm/LibDrmCommon/DrmErrors.h 2     2/15/04 7:41p Lotan $
// Copyright (c) DivXNetworks, Inc. http://www.divxnetworks.com
// All rights reserved.
//
// This software is the confidential and proprietary information of DivXNetworks
// Inc. ("Confidential Information").  You shall not disclose such Confidential
// Information and shall use it only in accordance with the terms of the license
// agreement you entered into with DivXNetworks, Inc.
*/
#ifndef _DRM_ERRORS_H_
#define _DRM_ERRORS_H_

/*
These constants define the error message returned from the DrmAdpApi.
*/
#include "Config.h"		// Global Configuration - do not remove!
#include "Include\sysdefs.h"

#ifdef AVI_DRM_SUPPORT

#define DRM_ERROR_NONE						0

#define DRM_ERROR_INVALID_MASTER_KEY		10  /* from: drmInitPlaybackContext */
#define DRM_ERROR_DECRYPTION_FAILED			11  /* from: drmDecryptFrame */
#define DRM_ERROR_READING_MEMORY			12	/* from: DrmLocal (reserved as local read 
												  	     memory error */
#define DRM_ERROR_WRITING_MEMORY			13  /* from: DrmLocal (reserved s local write
														 memory error) */
#define DRM_ERROR_UNRECOGNIZED_DRM_MODE		14  /* from: drmInitPlaybackContext */
#define DRM_ERROR_NOT_AUTH_USER             15  /* from: drmQueryRentalStatus, drmCommitPlayback */
#define DRM_ERROR_RENTAL_EXPIRED            16  /* from: drmQueryRentalStatus, drmCommitPlayback */
#define DRM_ERROR_NEED_MORE_RANDOM_SAMPLE	17  /* from: drmGetRegistrationCodeString, 
														 drmCommitPlayback */
#define DRM_ERROR_NOT_INITIALIZED			18  /* from: drmQueryRentalStatus */
#define DRM_ERROR_NOT_LIMITED_RENTAL_TYPE	19  /* from: drmQueryRentalStatus */ 
#define DRM_ERROR_NOT_COMMITTED				20  /* from: drmDecryptFrame */
#define DRM_ERROR_NOT_RENTAL_QUERIED		21  /* from: drmCommitPlayback */
#define DRM_ERROR_BAD_SLOT_NUMBER           22  /* from: drmQueryRentalStatus */
#define DRM_ERROR_NULL_GUARD_SET_SIGNAL		23	/* from: drmCommitPlayback (for certification
														 testing support). */
#define DRM_ERROR_INVALID_ALIGNMENT			24	/* from: drmInitPlaybackContext */

// Encrypt related only errors.
#define DRM_ERROR_BAD_ENCRYPT_CONTEXT		101
#define DRM_ERROR_FAILED_TO_ENCRYPT			102

#endif // AVI_DRM_SUPPORT

#endif // _DRM_ERRORS_H_

⌨️ 快捷键说明

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