mirror of https://github.com/lianthony/NT4.0
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.
35 lines
963 B
35 lines
963 B
/***********************************************************************
|
|
* Microsoft (R) 32-Bit Incremental Linker
|
|
*
|
|
* Copyright (C) Microsoft Corp 1992-95. All rights reserved.
|
|
*
|
|
* File: fileio.h
|
|
*
|
|
* File Comments:
|
|
*
|
|
* This file contains the public api for file i/o
|
|
*
|
|
***********************************************************************/
|
|
|
|
#ifndef FILEIO_H
|
|
#define FILEIO_H
|
|
|
|
void FileInit(DWORD, DWORD, DWORD, DWORD);
|
|
INT FileOpen(const char *, INT, INT);
|
|
INT FileClose(INT, BOOL);
|
|
void FileCloseAll(void);
|
|
LONG FileSeek(INT, LONG, INT);
|
|
LONG FileSeekEx(INT, LONG, INT, DWORD *);
|
|
LONG FileLength(INT);
|
|
DWORD FileRead(INT, PVOID, DWORD);
|
|
DWORD FileTell(INT);
|
|
DWORD FileWrite(INT, const void *, DWORD);
|
|
INT FileChSize(INT, LONG);
|
|
void BadExitCleanup(void);
|
|
BYTE *PbMappedRegion(IN INT fd, IN DWORD ibStart, IN DWORD cb);
|
|
|
|
INT FileOpenMapped(const char *, INT, INT, DWORD *, DWORD *, DWORD *);
|
|
void FileSetSize(INT);
|
|
void FileCloseMap(INT);
|
|
|
|
#endif // FILEIO_H
|