Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
1.1 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (c) 1995 - 1997 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. typedef LPVOID HFASTFILE;
  14. extern BOOL __cdecl FastFileInit( LPSTR fname, int max_handles );
  15. extern void __cdecl FastFileFini( void );
  16. extern HFASTFILE __cdecl FastFileOpen( LPSTR name );
  17. extern BOOL __cdecl FastFileClose( HFASTFILE pfe );
  18. extern BOOL __cdecl FastFileRead( HFASTFILE pfh, LPVOID ptr, int size );
  19. extern BOOL __cdecl FastFileSeek( HFASTFILE pfe, int off, int how );
  20. extern long __cdecl FastFileTell( HFASTFILE pfe );
  21. extern LPVOID __cdecl FastFileLock( HFASTFILE pfe, int off, int len );
  22. extern BOOL __cdecl FastFileUnlock( HFASTFILE pfe, int off, int len );