es_mute_process_events(_:_:_:_:)
Suppresses a subset of events from a given process.
Declaration
func es_mute_process_events(_ client: OpaquePointer, _ audit_token: UnsafePointer<audit_token_t>, _ events: UnsafePointer<es_event_type_t>, _ event_count: Int) -> es_return_tParameters
- client:
A previously-created client. If the call succeeds, this client no longer receives events that match the types in the
eventsarray from the process indicated byaudit_token. - audit_token:
The audit token that indicates the process to mute.
- events:
An array of event types to mute.
- event_count:
The number of members in the
eventsarray.
Return Value
A value that indicates whether the mute request succeeded or failed with an error.
Discussion
To mute all events from a process, use es_mute_process(_:_:).