mirror of
https://github.com/reactos/reactos.git
synced 2024-11-03 21:34:00 +00:00
7c73e239b0
Add some utility functions (only file-oriented for now :) ). Will be used in the next commit. svn path=/branches/ntvdm/; revision=62341
33 lines
786 B
C
33 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 */
|