<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "vmnet",
  "identifier" : "/documentation/vmnet/vmnet_start_interface(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "vmnet"
    ],
    "preciseIdentifier" : "c:@F@vmnet_start_interface"
  },
  "title" : "vmnet_start_interface(_:_:_:)"
}
-->

# vmnet_start_interface(_:_:_:)

Starts a new virtual interface instance.

```
func vmnet_start_interface(_ interface_desc: xpc_object_t, _ queue: dispatch_queue_t, _ handler: @escaping vmnet_start_interface_completion_handler_t) -> interface_ref?
```

## Parameters

`interface_desc`

A dictionary describing parameters to use when creating the interface.

`queue`

The queue on which to schedule the completion handler.

`handler`

The block to invoke when the start interface request completes.

## Return Value

A non-`NULL` interface handle on success, `NULL` otherwise.

## Discussion

Attributes of the virtual interface are specified using the interface_desc dictionary.

---

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)