mirror of
https://github.com/reactos/reactos.git
synced 2024-09-08 19:59:49 +00:00
![Hermès Bélusca-Maïto](/assets/img/avatar_default.png)
Add some utility functions (only file-oriented for now :) ). Will be used in the next commit. svn path=/branches/ntvdm/; revision=62341
34 lines
786 B
C
34 lines
786 B
C
/*
|
|
* COPYRIGHT: GPL - See COPYING in the top level directory
|
|
* PROJECT: ReactOS Virtual DOS Machine
|
|
* FILE: utils.h
|
|
* PURPOSE: Utility Functions
|
|
* PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
|
|
*/
|
|
|
|
#ifndef _UTILS_H_
|
|
#define _UTILS_H_
|
|
|
|
/* INCLUDES *******************************************************************/
|
|
|
|
#include "ntvdm.h"
|
|
|
|
/* FUNCTIONS ******************************************************************/
|
|
|
|
VOID
|
|
FileClose(IN HANDLE FileHandle);
|
|
|
|
HANDLE
|
|
FileOpen(IN PCSTR FileName,
|
|
OUT PULONG FileSize OPTIONAL);
|
|
|
|
BOOLEAN
|
|
FileLoadByHandle(IN HANDLE FileHandle,
|
|
IN PVOID Location,
|
|
IN ULONG FileSize,
|
|
OUT PULONG BytesRead);
|
|
|
|
#endif // _UTILS_H_
|
|
|
|
/* EOF */
|