DOSRead
Reads from a file in the DOS partition
- Local Servers:blocking
- Remote Servers:N/A
- NetWare Server:3.x, 4.x, 5.x,
6.x
- Platform:NLM
- Service:DOS Partition
Syntax
#include <nwdos.h>
int DOSRead (
int handle,
LONG fileOffset,
void *buffer,
LONG numberOfBytesToRead,
LONG *numberOfBytesRead);
Parameters
- handle
- (IN) Specifies the file handle obtained by DOSOpen
or DOSCreate.
- fileOffset
- (IN) Specifies the position in the file to start
reading.
- buffer
- (OUT) Points to the data read from the file.
- numberOfBytesToRead
- (IN) Specifies the number of bytes to be read from
the file.
- numberOfBytesRead
- (OUT) Points to the number of bytes actually read
from the file.