mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 23:57:54 -05:00
b59d8ef5cf
This is almost certainly abandonware, fairly small (<1MB), and is going to save us a lot of dev environment headaches
24 lines
1 KiB
C
24 lines
1 KiB
C
/*==========================================================================
|
|
*
|
|
* Copyright (C) 1995-1997 Microsoft Corporation. All Rights Reserved.
|
|
*
|
|
* File: fastfile.h
|
|
* Content: Definitions for fastfile access.
|
|
*
|
|
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
|
|
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
|
|
* WARRANTIES OF MERCHANTBILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
|
|
*
|
|
***************************************************************************/
|
|
|
|
typedef LPVOID HFASTFILE;
|
|
|
|
extern BOOL FastFileInit( LPSTR fname, int max_handles );
|
|
extern void FastFileFini( void );
|
|
extern HFASTFILE FastFileOpen( LPSTR name );
|
|
extern BOOL FastFileClose( HFASTFILE pfe );
|
|
extern BOOL FastFileRead( HFASTFILE pfh, LPVOID ptr, int size );
|
|
extern BOOL FastFileSeek( HFASTFILE pfe, int off, int how );
|
|
extern long FastFileTell( HFASTFILE pfe );
|
|
extern LPVOID FastFileLock( HFASTFILE pfe, int off, int len );
|
|
extern BOOL FastFileUnlock( HFASTFILE pfe, int off, int len );
|