readdir.h

来自「这是DVD中伺服部分的核心代码」· C头文件 代码 · 共 81 行

H
81
字号
/*****************************************************************************
******************************************************************************
**                                                                          **
**  Copyright (c) 2002 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 readdir.h
 *
 * $Id: readdir.h,v 1.7 2006/10/04 21:30:25 rbehe Exp $
 */

#ifndef _READDIR_H
#define _READDIR_H

#ifdef __cplusplus
extern "C" {
#endif

/*structures*/
typedef struct
{
    ULONG ifo_address;
    ULONG ifo_length;
    ULONG bup_address;
    ULONG bup_length;
    ULONG vob_address;
    ULONG vob_length;
    UBYTE vob_cgms;
    UBYTE present;
    UBYTE vts_num_max;
} VMG_FILE_STRUCT;

typedef struct
{
    ULONG ifo_address;
    ULONG ifo_length;
    ULONG bup_address;
    ULONG bup_length;
    UBYTE present;
    UBYTE ats_num_max;
} AMG_FILE_STRUCT;

typedef struct
{
    ULONG address;
    ULONG length;
    UBYTE cgms;
} TITLE_SET_OBJ;


typedef struct
{
    ULONG ifo_address;
    ULONG ifo_length;
    ULONG bup_address;
    ULONG bup_length;
    UBYTE tso_num;
    TITLE_SET_OBJ ts[11];
} TITLE_SET_FILE_STRUCT;

/* function prototypes */
BOOLEAN ReaddirIsVidTS(LOADER_HANDLE tLoader);
BOOLEAN ReaddirIsAudTS(LOADER_HANDLE tLoader);
UBYTE read_directory(void);

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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