msos2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
FIOREADWRITE (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_DOSFILEMGR
 
typedef struct _FIOREADWRITE {    /* frwc */
    USHORT usCmd;
    PVOID  pbBuffer;
    USHORT cbBufferLen;
    USHORT cbActualLen;
} FIOREADWRITE;
 
The FIOREADWRITE structure contains information used by the DosFileIO
function for reading and writing data.
 
Field        Description
────────────────────────────────────────────────────────────────────────────
 
usCmd        Specifies the command to pass to the DosFileIO function. This
             field should be set to FIO_READ for a read operation or to
             FIO_WRITE for a write operation.
 
pbBuffer     Points to the buffer that contains the data to be written, or
             points to a buffer that receives the data that is read.
 
cbBufferLen  Specifies the length of the buffer (in bytes).
 
cbActualLen  Specifies the number of bytes actually transferred.
 
See Also
 
DosFileIO