DOSWrite
Writes to 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 DOSWrite(
int handle,
LONG fileOffset,
const void *buffer,
LONG numberOfBytesToWrite,
LONG *numberOfBytesWritten);
Parameters
- handle
- (IN) Specifies the file handle obtained by DOSOpen
or DOSCreate.
- fileOffset
- (IN) Specifies the position in the file to start
writing.
- buffer
- (IN) Points to the data to write to the file.
- numberOfBytesToWrite
- (IN) Specifies the number of bytes in the buffer
to write to the file.
- numberOfBytesWritten
- (OUT) Points to the number of bytes written to the
file.