21 //construction / destruction
26 virtual int Open(const wchar_t * pName
) = 0;
27 virtual int Close() = 0;
30 virtual int Read(void * pBuffer
, unsigned int nBytesToRead
, unsigned int * pBytesRead
) = 0;
31 virtual int Write(const void * pBuffer
, unsigned int nBytesToWrite
, unsigned int * pBytesWritten
) = 0;
34 virtual int Seek(int nDistance
, unsigned int nMoveMode
) = 0;
36 // creation / destruction
37 virtual int Create(const wchar_t * pName
) = 0;
38 virtual int Delete() = 0;
41 virtual int SetEOF() = 0;
44 virtual int GetPosition() = 0;
45 virtual int GetSize() = 0;
46 virtual int GetName(wchar_t * pBuffer
) = 0;
49 #endif // #ifndef APE_IO_H