source: golgotha/src/i4/video/win32/fastfile.h @ 80

Last change on this file since 80 was 80, checked in by Sam Hocevar, 11 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1/*==========================================================================
2 *
3 *  Copyright (C) 1995-1996 Microsoft Corporation.  All Rights Reserved.
4 *
5 *  File:       fastfile.h
6 *  Content:    Definitions for fastfile access.
7 *
8 * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
9 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
10 * WARRANTIES OF MERCHANTBILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
11 *
12 ***************************************************************************/
13
14typedef LPVOID  HFASTFILE;
15
16extern BOOL FastFileInit( LPSTR fname, int max_handles );
17extern void FastFileFini( void );
18extern HFASTFILE FastFileOpen( LPSTR name );
19extern BOOL FastFileClose( HFASTFILE pfe );
20extern BOOL FastFileRead( HFASTFILE pfh, LPVOID ptr, int size );
21extern BOOL FastFileSeek( HFASTFILE pfe, int off, int how );
22extern long FastFileTell( HFASTFILE pfe );
23extern LPVOID FastFileLock( HFASTFILE pfe, int off, int len );
24extern BOOL FastFileUnlock( HFASTFILE pfe, int off, int len );
Note: See TracBrowser for help on using the repository browser.