FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
AFILE.h
Go to the documentation of this file.
1#pragma once
2
3//
4// (C) Copyright 2005-2024 by Graebert GmbH.
5//
6// Permission to use, copy, modify, and distribute this software in
7// object code form for any purpose and without fee is hereby granted,
8// provided that the above copyright notice appears in all copies and
9// that both that copyright notice and the limited warranty and
10// restricted rights notice below appear in all supporting
11// documentation.
12//
13// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
14// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
15// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
16// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
17// UNINTERRUPTED OR ERROR FREE.
18
19
21{
22public:
23 struct PAGE
24 {
25 };
26
27public:
29
30public:
31 bool isDevice( void )const;
32 bool reWrite( void );
33 bool readBOM( void );
34 bool writeBOM( void );
36 int readBinaryBytes( void *, unsigned int );
37 int readChar( wchar_t * );
38 int readString( wchar_t *, unsigned int );
39 int setFileTime( _FILETIME const *, _FILETIME const *, _FILETIME const * );
40 int writeBinaryBytes( void const *, unsigned int );
41 int writeString( wchar_t const *, unsigned int );
42 static AFILE * __stdcall open( wchar_t const *, void *, unsigned long, unsigned long, unsigned long, int );
43 static AFILE * __stdcall open( wchar_t const *, wchar_t const * );
44 static AFILE * __stdcall stdOut( void );
45 static int __stdcall checkError( AFILE * );
46 static int __stdcall close( AFILE *, void * * );
48 static int __stdcall clrerr( AFILE * );
49 unsigned int length( void )const;
50 unsigned int read( void *, unsigned int, unsigned int );
51 unsigned int write( void const *, unsigned int, unsigned int );
52 void rewind( void );
53
54};
#define ARX_API_STATIC
Definition FxARXAPI.h:25
Definition AFILE.h:21
int writeString(wchar_t const *, unsigned int)
unsigned int write(void const *, unsigned int, unsigned int)
static int __stdcall clrerr(AFILE *)
int readString(wchar_t *, unsigned int)
bool isDevice(void) const
bool reWrite(void)
int writeBinaryBytes(void const *, unsigned int)
unsigned int read(void *, unsigned int, unsigned int)
int readBinaryBytes(void *, unsigned int)
void rewind(void)
static AFILE *__stdcall open(wchar_t const *, wchar_t const *)
static int __stdcall close(AFILE *, void **)
static int __stdcall checkError(AFILE *)
static AFILE *__stdcall open(wchar_t const *, void *, unsigned long, unsigned long, unsigned long, int)
unsigned int length(void) const
bool writeBOM(void)
static int __stdcall closeAndDelete(AFILE *)
int readChar(wchar_t *)
static AFILE *__stdcall stdOut(void)
bool readBOM(void)
int setFileTime(_FILETIME const *, _FILETIME const *, _FILETIME const *)
int getFileTime(_FILETIME *, _FILETIME *, _FILETIME *)
static ARX_API_STATIC AFILE * smpList
Definition AFILE.h:28