NetAuditWrite 函数已过时。 它包含在内,以便与 16 位版本的 Windows 兼容。 其他应用程序应使用 事件日志记录。
Syntax
NET_API_STATUS NET_API_FUNCTION NetAuditWrite(
DWORD type,
LPBYTE buf,
DWORD numbytes,
LPCWSTR service,
LPBYTE reserved
);
参数
type
TBD
buf
TBD
numbytes
TBD
service
TBD
reserved
TBD
返回值
None
要求
| Requirement | 价值 |
|---|---|
| 目标平台 | Windows操作系统 |
| Header | lmaudit.h |
| Library | NetAPI32.Lib |