---
title: "DADissenterCreate(_:_:_:)"
framework: Disk Arbitration
role: symbol
role_heading: Function
platforms: [Mac Catalyst 13.1+, macOS 10.4+]
path: "diskarbitration/dadissentercreate(_:_:_:)"
---

# DADissenterCreate(_:_:_:)

Creates a new dissenter object.

## Declaration

```swift
func DADissenterCreate(_ allocator: CFAllocator?, _ status: DAReturn, _ string: CFString?) -> DADissenter
```

## Parameters

- `allocator`: The allocator object to be used to allocate memory.
- `status`: The return code.
- `string`: The return code string. Pass NULL for no reason.

## Return Value

Return Value A reference to a new DADissenter.

## See Also

### Miscellaneous

- [DADissenterGetStatus(_:)](diskarbitration/dadissentergetstatus(_:).md)
- [DADissenterGetStatusString(_:)](diskarbitration/dadissentergetstatusstring(_:).md)
