NWADGetFileList
Returns the file list
#include <nwaudit.h>
or
#include <nwnet.h>
N_EXTERN_LIBRARY NWRCODE NWADGetFileList (
NWCONN_HANDLE conn,
nuint32 auditIDType,
nuint32 auditID,
nptr auditHandle,
pNWAuditFileList fileList);
uses audwin32
Function NWADGetFileList
(conn : NWCONN_HANDLE;
auditIDType : nuint32;
auditID : nuint32;
auditHandle : nptr;
fileList : pNWAuditFileList
) : NWRCODE;
These are common return values; see Return Values (Return Values for C) for more information.
NWADGetFileList returns a list of the dates, times, and sizes of old audit files. The list contains a total of up to 16 (0-15) files that can be added to the list by calling NWADResetFile.
If the fileCreateDateTime field of NWAuditFileList is not zero, the fileSize field is valid.
The file number zero (0) indicates the current history file; file numbers 1-15 indicate old history files. The number of old files to keep is indicated by bufferSize in NWADReadConfigHeader and NWADWriteConfigHeader and has a maximum of 15 files.
If auditIDType is set to AUDIT_ID_IS_VOLUME to indicate volume auditing, NWGetVolumeNumber can be called to get the volume number of the audit file object.
If auditIDType is set to AUDIT_ID_IS_CONTAINER to indicate container auditing, NWDSAuditGetObjectID can be called to get the Directory Service object ID of the audit file object.
NWADCloseRecordFile, NWADOpen, NWADOpenRecordFile, NWADReadRecord, NWADResetFile, NWDSAuditGetObjectID (obsolete 06/03) (NDS Core Services), NWGetVolumeNumber (Volume Management)