NWADCloseOldFile
Closes the old auditing file automatically opened by the system when the volume or container is mounted or auditing is enabled
#include <nwaudit.h>
or
#include <nwnet.h>
N_EXTERN_LIBRARY NWRCODE NWADCloseOldFile (
NWCONN_HANDLE conn,
nuint32 auditIDType,
nuint32 auditID,
nptr auditHandle);
uses audwin32
Function NWADCloseOldFile
(conn : NWCONN_HANDLE;
auditIDType : nuint32;
auditID : nuint32;
auditHandle : nptr
) : NWRCODE;
These are common return values; see Return Values (Return Values for C) for more information.
NWADCloseOldFile requires a second-level password when enabled.
The old auditing file is kept open by the operating system. If a file needs to be copied or deleted, close it by calling NWADCloseOldFile first.
NWADCloseOldFile is only supported on NetWare 4.1. NWADCloseOldFile cannot be called from NetWare 4.11, 5.x, and 6.x.
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.
NWADDeleteFile, NWADInitLevelTwoPassword, NWADLogin, NWADOpen, NWADResetFile, NWDSAuditGetObjectID (obsolete 06/03) (NDS Core Services), NWGetVolumeNumber (Volume Management)