📄 cmdproc.h
字号:
/*****************************************************************************
******************************************************************************
** **
** Copyright (c) 2005-2006 Videon Central, Inc. **
** All rights reserved. **
** **
** The computer program contained herein contains proprietary information **
** which is the property of Videon Central, Inc. The program may be used **
** and/or copied only with the written permission of Videon Central, Inc. **
** or in accordance with the terms and conditions stipulated in the **
** agreement/contract under which the programs have been supplied. **
** **
******************************************************************************
*****************************************************************************/
/**
* @file cmdproc.h
*
* Defines the API to the Command Processor of the BD-ROM navigator.
* The command processor handles processing of a command
* program from a Movie Object or a Button Object.
*
* $Id: cmdproc.h,v 1.9 2006/10/25 23:38:48 rbehe Exp $
*/
#ifndef CMDPROC_H
#define CMDPROC_H
#ifdef __cplusplus
extern "C" {
#endif
#include "vdvd_types.h"
#include "../mvobjdb.h"
/**
* Command Processor Status types
*/
typedef LONG CMDPROC_STATUS;
#define CMDPROC_SUCCESS (0)
#define CMDPROC_FAILURE (-1)
#define CMDPROC_NOT_IMPLEMENTED (-2)
#define CMDPROC_NULL_POINTER (-3)
#define CMDPROC_JUMP_OBJECT (1)
#define CMDPROC_CALL_OBJECT (2)
#define CMDPROC_JUMP_TITLE (3)
#define CMDPROC_CALL_TITLE (4)
#define CMDPROC_RESUME_OBJECT (5)
#define CMDPROC_WAITING (6)
#define CMDPROC_PL_TERMINATED (7)
/**
* Command Processor Public Interface
*/
CMDPROC_STATUS CmdProcInitialize(void);
CMDPROC_STATUS CmdProcUninitialize(void);
CMDPROC_STATUS CmdProcProcessMovieProgram(MVOBJ_NAV_COMMAND *pMovieProgram, ULONG ulNumberOfCommands, ULONG *pulStatusParam);
CMDPROC_STATUS CmdProcSuspendMovieProgram(ULONG *pulCmdID);
CMDPROC_STATUS CmdProcResumeMovieProgram(MVOBJ_NAV_COMMAND *pMovieProgram, ULONG ulNumberOfCommands, ULONG ulCmdID, ULONG *pulStatusParam);
CMDPROC_STATUS CmdProcLoadMovieProgram(MVOBJ_NAV_COMMAND *pMovieProgram, ULONG ulNumberOfCommands, ULONG ulCmdID);
CMDPROC_STATUS CmdProcTerminateMovieProgram(void);
CMDPROC_STATUS CmdProcPlaybackComplete(ULONG *pulStatusParam);
CMDPROC_STATUS CmdProcProcessButtonProgram(MVOBJ_NAV_COMMAND *pMovieProgram, ULONG ulNumberOfCommands, ULONG *pulStatusParam);
CMDPROC_STATUS CmdProcGetNVTimerJumpObject(ULONG *pulMvObjID);
CMDPROC_STATUS CmdProcSetRepeat(BOOLEAN fOnOff);
BOOLEAN CmdProcIsRepeatOn(void);
uint32 CmdProcGetNavCmdID(void);
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -