ISO9660_API.h
上传用户:super_houu
上传日期:2008-09-21
资源大小:4099k
文件大小:4k
- /****************************************************************************************
- * Copyright (c) 2002 ZORAN Corporation, All Rights Reserved
- * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ZORAN CORPORATION
- *
- * File: $Workfile: ISO9660_API.h $
- *
- * Description:
- * ============
- *
- *
- * Log:
- * ====
- * $Revision: 5 $
- * Last Modified by $Author: Mikex $ at $Modtime: 7/03/03 2:11p $
- ****************************************************************************************
- * Updates:
- ****************************************************************************************
- * $Log: /SourceCode/I64_Common/I64_Reference/Playcore/FileSys/ISO9660/ISO9660_API.h $
- *
- * 5 7/03/03 2:16p Mikex
- * add a function ISO9660_checkValid to check whether the ISO9660 file
- * system was ok or not. the function was transferred by
- * ISO9660_initialize function.
- *
- * 4 7/01/03 6:28p Mikex
- * add ISO9660_getFilesFirst, ISO9660_getFilesNext and
- * ISO9660_getFilesClose function to get all files in one directory
- *
- * 3 03-01-10 12:20 Leslie
- * Add builtin unicode support
- *
- * 7 23/04/02 9:30 Nirm
- * - Added dependency in "Config.h".
- *
- * 6 30/01/02 18:15 Nirm
- * Changed Search-ID to 16-bit.
- *
- * 5 27/01/02 17:34 Nirm
- * - Added ISO9660_construct() and ISO9660_destruct(), to allow proper
- * allocation and deallocation of system resources;
- * - Search IDs are now 16-bit long (instead of 32).
- *
- * 4 1/10/02 15:28 Idan
- * Corrected Include-Paths.
- *
- * 3 1/09/02 15:24 Idan
- * changed () -> (void) in functions' prototypes.
- *
- * 2 12/31/01 19:46 Idan
- * initializing the ISO9660 FS is working.
- *
- * 1 12/27/01 14:19 Idan
- *
- ****************************************************************************************/
- /////////////////////////////////////////////////////////////////////////////
- // ISO9660_API.h - Abstract Programming Interface for an ISO-9660 File-System
- //
- // Author: Nir Milstein
- #include "Config.h" // Global Configuration - do not remove!
- #ifndef __ISO9660_API_H_
- #define __ISO9660_API_H_
- #include "IncludeSysDefs.h"
- #include "PlaycoreFileSysFileSystem.h"
- /////////////////////////////////////////////////////////////////////////////
- // Detection
- BOOL ISO9660_isResident(DWORD dwCandidateLBN);
- /////////////////////////////////////////////////////////////////////////////
- // Construction / Destruction
- void ISO9660_construct(DWORD dwSessionStartLBN);
- void ISO9660_destruct(void);
- /////////////////////////////////////////////////////////////////////////////
- // Initialization
- BOOL ISO9660_initialize(BOOL bLongFilenameSupport);
- /////////////////////////////////////////////////////////////////////////////
- // Navigation
- BOOL ISO9660_goToRootDir(void);
- BOOL ISO9660_changeDir(LPCWSTR i_pszDestDirName);
- BOOL ISO9660_goUp(void);
- void ISO9660_storeWorkingDirectory(void);
- void ISO9660_recallWorkingDirectory(void);
- /////////////////////////////////////////////////////////////////////////////
- // Queries
- void ISO9660_getVolumeName(LPCWSTR volumeName);
- BOOL ISO9660_fileExists(LPCWSTR i_pszFilename);
- UINT16 ISO9660_findFirstFile(LPCWSTR i_pszPattern, FindData *o_pFindData);
- BOOL ISO9660_findNextFile(UINT16 hFindFile, FindData *o_pFindData);
- BOOL ISO9660_findClose(UINT16 hFileFind);
- BOOL ISO9660_fileLocation(LPCWSTR i_pszFilename, DWORD *o_pFileLocation);
- UINT16 ISO9660_getFilesFirst(LPCWSTR i_pszFilename, UINT16 uGetFileCount, UINT16 *o_uGetFileNum, FindData *o_pGetData);
- UINT16 ISO9660_getFilesNext(UINT16 uSearchID,UINT16 uGetFileCount, FindData *o_pGetData);
- BOOL ISO9660_getFilesClose(UINT16 uSearchID);
- BOOL ISO9660_checkValid();
- #endif //__ISO9660_API_H_