udf_api.h
来自「Zoran V966 DVD 解码 Soc芯片的源程序」· C头文件 代码 · 共 111 行
H
111 行
/****************************************************************************************
* Copyright (c) 2002 ZORAN Corporation, All Rights Reserved
* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ZORAN CORPORATION
*
* File: $Workfile: UDF_API.h $
*
* Description:
* ============
*
*
* Log:
* ====
* $Revision: 2 $
* Last Modified by $Author: Leslie $ at $Modtime: 03-01-06 17:15 $
****************************************************************************************
* Updates:
****************************************************************************************
* $Log: /SourceCode/I64_Common/I64_Reference/Playcore/FileSys/UDF/UDF_API.h $
*
* 2 03-01-10 12:20 Leslie
* Add builtin unicode support
*
* 3 9/05/02 16:16 Nirm
* - Expanded UDF_getDVDFileInfo() functionality, to increase efficiency.
*
* 2 23/04/02 9:30 Nirm
* - Added dependency in "Config.h".
*
* 1 30/01/02 18:12 Nirm
****************************************************************************************/
/////////////////////////////////////////////////////////////////////////////
// UDF_API.h - Abstract Programming Interface for a UDF-2.00 File-System
//
// Author: Nir Milstein
#include "Config.h" // Global Configuration - do not remove!
#ifndef __UDF_API_H_
#define __UDF_API_H_
#include "Include\SysDefs.h"
#include "Playcore\FileSys\FileSystem.h"
/////////////////////////////////////////////////////////////////////////////
// Detection
BOOL UDF_isResident(DWORD dwCandidateLBN, UINT16 *o_pUDFRevision);
/////////////////////////////////////////////////////////////////////////////
// Construction / Destruction
void UDF_construct(DWORD dwSessionStartLBN, UINT16 uRevision);
void UDF_destruct(void);
/////////////////////////////////////////////////////////////////////////////
// Initialization
BOOL UDF_initialize(BOOL bLongFilenameSupport);
/////////////////////////////////////////////////////////////////////////////
// Navigation
BOOL UDF_goToRootDir(void);
BOOL UDF_changeDir(LPCWSTR i_pszDestDirName);
BOOL UDF_goUp(void);
void UDF_storeWorkingDirectory(void);
void UDF_recallWorkingDirectory(void);
/////////////////////////////////////////////////////////////////////////////
// Queries
void UDF_getVolumeName(LPCWSTR volumeName);
BOOL UDF_fileExists(LPCWSTR i_pszFilename);
BOOL UDF_fileLocation(LPCWSTR i_pszFilename, DWORD *o_pFileLocation, BOOL bIsDir);
BOOL UDF_getDVDFileInfo(LPCWSTR i_pszFilename, enDVD_FileInfoType eType,
DVDFileInfo *o_pFileInfo, FindData *o_pFindData);
UINT16 UDF_findFirstFile(LPCWSTR i_pszPattern, FindData *o_pFindData);
BOOL UDF_findNextFile(UINT16 hFindFile, FindData *o_pFindData);
BOOL UDF_findClose(UINT16 hFileFind);
#ifdef DVD_VR_SUPPORT
#define MAX_PLAY_EXTENT_IN_FE 1
#define ALLOCATION_EXTENT_INTERPRETATION 0xc0000000UL
BOOL UDF_getDVDVRFileExtent(LPCWSTR i_pszFilename, DWORD* o_pFileExtentList);
BOOL UDF_ReadFile(DWORD pFileHandle, DWORD dwOffset, DWORD dwSize, BYTE* o_pBuffer);
BOOL UDF_PlayExtents(DWORD pFileHandle, DWORD dwOffset, DWORD dwSize);
BOOL UDF_TransferExtentToFE(void);
#endif
#endif //__UDF_API_H_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?