1 #ifndef APE_GLOBALFUNCTIONS_H
2 #define APE_GLOBALFUNCTIONS_H
4 /*************************************************************************************
6 *************************************************************************************/
9 /*************************************************************************************
10 Read / Write from an IO source and return failure if the number of bytes specified
12 *************************************************************************************/
13 int ReadSafe(CIO
* pIO
, void * pBuffer
, int nBytes
);
14 int WriteSafe(CIO
* pIO
, void * pBuffer
, int nBytes
);
16 /*************************************************************************************
17 Checks for the existence of a file
18 *************************************************************************************/
19 BOOL
FileExists(wchar_t * pFilename
);
21 #endif // #ifndef APE_GLOBALFUNCTIONS_H