xref: /reactos/subsystems/mvdm/ntvdm/utils.h (revision 40462c92)
1 /*
2  * COPYRIGHT:       GPL - See COPYING in the top level directory
3  * PROJECT:         ReactOS Virtual DOS Machine
4  * FILE:            subsystems/mvdm/ntvdm/utils.h
5  * PURPOSE:         Utility Functions
6  * PROGRAMMERS:     Hermes Belusca-Maito (hermes.belusca@sfr.fr)
7  */
8 
9 #ifndef _UTILS_H_
10 #define _UTILS_H_
11 
12 /* FUNCTIONS ******************************************************************/
13 
14 VOID
15 FileClose(IN HANDLE FileHandle);
16 
17 HANDLE
18 FileOpen(IN  PCSTR  FileName,
19          OUT PULONG FileSize OPTIONAL);
20 
21 BOOLEAN
22 FileLoadByHandle(IN  HANDLE FileHandle,
23                  IN  PVOID  Location,
24                  IN  ULONG  FileSize,
25                  OUT PULONG BytesRead);
26 
27 #endif /* _UTILS_H_ */
28