Description


Include file: xio.h

Functions

Read

Definition

Read(PVOID, ULONG)

Parameters

XDate& buffer
XTime& buffer
CHAR& buffer
SHORT& buffer
LONG& buffer
XString& string-buffer
ULONG size count of bytes to read
PVOID buffer pointer to memory
ULONG size count of bytes to read

Return-Value

ULONG count of bytes which are read
ULONG count of bytes which are read
ULONG count of bytes which are read
ULONG count of bytes which are read
ULONG count of bytes which are read
ULONG count of bytes which are read
ULONG count of bytes which are read

Remarks

Read from I/O
Read from I/O
Read from I/O
Read from I/O
Read from I/O
Read from I/O
Read from I/O

Write

Parameters

XDate& data in OOL-format
XTime& data in OOL-format
CHAR data
SHORT data
LONG data
XString& string
PVOID buffer pointer to memory
ULONG size count of bytes to write

Return-Value

ULONG count of bytes which are written
ULONG count of bytes which are written
ULONG count of bytes which are written
ULONG count of bytes which are written
ULONG count of bytes which are written
ULONG count of bytes which are written
ULONG count of bytes which are written

Remarks

Write a date to I/O
Write a time to I/O
Write CHAR to I/O
Write SHORT to I/O
Write LONG to I/O
Writes a string to I/O including terminating NULL.
Write to I/O

GetPointerPos

Return-Value

ULONG the position

Remarks

Returns the position of the file-pointer relative to the beginning of I/O. Before calling this function you must call XIO::Seek()! (e.g. Seek(0, XFILE_CURRENT) )

Seek

Parameters

ULONG position position to seek to relative to relPos
ULONG relPos position relative to:
XFILE_BEGIN relative to the beginning of the file (default)
XFILE_CURRENT relative to current position
XFILE_END relative to the end of the file

Return-Value

ULONG count of bytes which are read

Remarks

Seek in the file

Close

Remarks

Close I/O


This document was generated by Jens von Pilgrim's Autodoc