208 #define IF_p6IUnbufferedFile {0x8E3A9F05,0x7A8E,0x440F,{0x9F,0xB9,0xEB,0xC9,0xCC,0xDE,0x12,0x9E}}
211 #define COMP_p6UnbufferedFile {0x0EECD54D,0x12D3,0x4DF8,{0x8E,0xE8,0xEE,0x11,0x87,0x18,0xB2,0xE2}}
virtual P6R::P6ERR close()=0
Closes the open file causing any pending data to be flushed to disk.
virtual P6R::P6ERR stat(P6R::P6FILEINFO *pInfo)=0
Retrieves information about the currently open file.
virtual P6R::P6ERR write(const P6R::P6VOID *pBuffer, P6R::P6SIZE cBytesToWrite, P6R::P6SIZE *pcBytesWritten)=0
Writes data to the file begining at the current file position.
virtual P6R::P6ERR getID(P6R::P6SIZE *pID)=0
Retrieves an ID that can be used to identify this file.
virtual P6R::P6ERR read(P6R::P6VOID *pBuffer, P6R::P6SIZE cBytesToRead, P6R::P6SIZE *pcBytesRead)=0
Read data from the opened file starting at the current file pointer position.
p6IDataStream interface definitions
File and directory type definitions.
wchar_t P6WCHAR
Wide character type see p6i18n.h.
virtual P6R::P6ERR writeFormatted(const P6R::P6CHAR *pFmt, P6R::P6ARG *pArgs, P6R::P6UINT32 cArgs, P6R::P6SIZE *pcBytesWritten)=0
Writes formatted data to the file begining at the current file position.
The base interface all [p6]COM components must derive from and implement.
Provides ability to create, open, read, write and seek files.
P6R::P6UINT32 P6FILEFLAGS
File access flags are passed to various file open/create calls to specify the type of access that is ...
virtual P6R::P6ERR seek(P6R::P6FILESEEK fromWhere, P6R::P6INT64 offset)=0
Moves the file pointer of the open file.
Used to describe an open file.
virtual P6R::P6ERR open(const P6R::P6WCHAR *pwszFilename, P6R::P6FILEFLAGS fFlags, P6R::P6FILEMODE perms)=0
Creates or opens the specified file using the the supplied flags and permissions. ...
virtual P6R::P6ERR initialize()=0
char P6CHAR
Narrow character type.