#ifndef _NTSEAPI_H
/**
* The NtDeleteObjectAuditAlarm routine generates an audit message in the security event log when an object is deleted.
*
* @param SubsystemName A pointer to a UNICODE_STRING specifying the name of the subsystem calling the function.
* @param HandleId A pointer to a unique value representing the client's handle to the object.
* @param GenerateOnClose Specifies a flag that determines whether to generate an audit on close.
* @return NTSTATUS Successful or errant status.
*/
NTSYSCALLAPI
NTSTATUS
NTAPI
NtDeleteObjectAuditAlarm(
_In_ PCUNICODE_STRING SubsystemName,
_In_opt_ PVOID HandleId,
_In_ BOOLEAN GenerateOnClose
);
View code on GitHub#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwDeleteObjectAuditAlarm(
_In_ PCUNICODE_STRING SubsystemName,
_In_opt_ PVOID HandleId,
_In_ BOOLEAN GenerateOnClose
);
View code on GitHubNo description available.
Function NtDeleteObjectAuditAlarm generates Security Audit Alarm, stored in Event Log. See also description of NtCloseObjectAuditAlarm.
This string is passed as a parameter to event message.
HANDLE to any object.
If set, event is generated.
Privilege: SE_AUDIT_PRIVILEGE