<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "EndpointSecurity",
  "identifier" : "/documentation/EndpointSecurity/es_respond_result_t",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Endpoint Security"
    ],
    "preciseIdentifier" : "c:@EA@es_respond_result_t"
  },
  "title" : "es_respond_result_t"
}
-->

# es_respond_result_t

Values that indicate the result of responding to a message.

```
struct es_respond_result_t
```

## Topics

### Success

[`ES_RESPOND_RESULT_SUCCESS`](/documentation/EndpointSecurity/ES_RESPOND_RESULT_SUCCESS)

Endpoint Security successfully delivered the response.

### Errors

[`ES_RESPOND_RESULT_ERR_DUPLICATE_RESPONSE`](/documentation/EndpointSecurity/ES_RESPOND_RESULT_ERR_DUPLICATE_RESPONSE)

The caller responded to a message that already received a response.

[`ES_RESPOND_RESULT_ERR_INTERNAL`](/documentation/EndpointSecurity/ES_RESPOND_RESULT_ERR_INTERNAL)

Communication with the Endpoint Security system failed.

[`ES_RESPOND_RESULT_ERR_INVALID_ARGUMENT`](/documentation/EndpointSecurity/ES_RESPOND_RESULT_ERR_INVALID_ARGUMENT)

The caller provided one or more invalid arguments.

[`ES_RESPOND_RESULT_NOT_FOUND`](/documentation/EndpointSecurity/ES_RESPOND_RESULT_NOT_FOUND)

The system couldn’t find the message that the caller sent this response to.

[`ES_RESPOND_RESULT_ERR_EVENT_TYPE`](/documentation/EndpointSecurity/ES_RESPOND_RESULT_ERR_EVENT_TYPE)

The caller performed an inappropriate response to the event.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Equatable`](/documentation/Swift/Equatable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)