<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 10.6.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "OpenDirectory",
  "identifier" : "/documentation/OpenDirectory/ODNodeCustomCall(_:_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Open Directory"
    ],
    "preciseIdentifier" : "c:@F@ODNodeCustomCall"
  },
  "title" : "ODNodeCustomCall(_:_:_:_:)"
}
-->

# ODNodeCustomCall(_:_:_:_:)

Returns the result of a custom call to a node.

```
func ODNodeCustomCall(_ node: ODNodeRef!, _ customCode: CFIndex, _ data: CFData!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> CFData!
```

## Parameters

`node`

The node.

`customCode`

The custom code to send to the node.

`data`

Data required by `inCustomCode`. Can be `NULL`.

`error`

An error reference for error details. Can be `NULL`.

## Return Value

The result of the custom call.

---

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)