📄 drmlocal.h
字号:
/*
// $Header: /I76/I76_Common/I76_Reference/Playcore/Nav_Clips/AviDrm/libDrmDecrypt/DrmLocal.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.
*/
/*
These function are the actual implementation to read and write from
the persistent memory.
Production players need to implement these functions according to
how the memory is stored in the product.
*/
#ifndef DRMLOCAL_H_INCLUDE
#define DRMLOCAL_H_INCLUDE
#include "Config.h" // Global Configuration - do not remove!
#ifdef AVI_DRM_SUPPORT
#include "Playcore\Nav_Clips\AviDrm\LibDrmCommon\Portable.h" /* uint8_t, uint32_t */
#include "Playcore\Nav_Clips\AviDrm\libDrmDecrypt\DrmMemory.h"
#define DEFAULT_STORAGE_FILE "dmem.txt"
#ifdef __cplusplus
extern "C" {
#endif
uint8_t localLoadDrmMemory(DrmMemory *memory);
uint8_t localSaveDrmMemory(DrmMemory *memory);
UINT8 localGetRapidUpdater(void);
void localWaitSecond(void);
void init_DrmLocalKey(void);
uint8_t localLoadAsFile(DrmPackedMemory *memoryPacked);
uint8_t localSaveAsFile(DrmPackedMemory memoryPacked);
uint8_t localGetHardwareKey(uint8_t *hardwareKey);
void aviDrmGetHardwareKey(void);
void setDrmLocalFileName(char *value);
#ifdef __cplusplus
};
#endif
#endif // AVI_DRM_SUPPORT
#endif DRMLOCAL_H_INCLUDE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -