NWADReadRecord
Reads a specified record
#include <nwaudit.h>
or
#include <nwnet.h>
N_EXTERN_LIBRARY NWRCODE NWADReadRecord (
nptr recordHandle,
nuint16 maxSize,
nint16 direction,
pnuint8 buffer,
pnuint16 bufferSize,
pnuint8 eofFlag,
pnuint32 offsetPtr);
uses audwin32
Function NWADReadRecord
(recordHandle : nptr;
maxSize : nuint16;
direction : nint16;
Var buffer : nuint8;
Var bufferSize : nuint16;
Var eofFlag : nuint8;
Var offsetPtr : nuint32
) : NWRCODE;
These are common return values; see Return Values (Return Values for C) for more information.
Either an end of file flag or -1 is a valid signal to NWADReadRecord to stop reading from the specified file.