NetAuditRead 函数已过时。 它包含在内,以便与 16 位版本的 Windows 兼容。 其他应用程序应使用 事件日志记录。
Syntax
NET_API_STATUS NET_API_FUNCTION NetAuditRead(
LPCWSTR server,
LPCWSTR service,
LPHLOG auditloghandle,
DWORD offset,
LPDWORD reserved1,
DWORD reserved2,
DWORD offsetflag,
LPBYTE *bufptr,
DWORD prefmaxlen,
LPDWORD bytesread,
LPDWORD totalavailable
);
参数
server
TBD
service
TBD
auditloghandle
TBD
offset
TBD
reserved1
TBD
reserved2
TBD
offsetflag
TBD
bufptr
TBD
prefmaxlen
TBD
bytesread
TBD
totalavailable
TBD
返回值
None
要求
| Requirement | 价值 |
|---|---|
| 目标平台 | Windows操作系统 |
| Header | lmaudit.h |
| Library | NetAPI32.Lib |