---
title: "AXValueCreate(_:_:)"
framework: Application Services
role: symbol
role_heading: Function
platforms: [macOS 10.2+]
path: applicationservices/1459351-axvaluecreate
---

# AXValueCreate(_:_:)

## Declaration

```swift
func AXValueCreate(_ theType: AXValueType, _ valuePtr: UnsafeRawPointer) -> AXValue?
```

## Parameters

- `theType`:
- `valuePtr`:

## Discussion

Discussion Encodes a structure pointed to by valuePtr into a CFTypeRef.

## See Also

### Miscellaneous

- [AXValueGetType(_:)](applicationservices/1460911-axvaluegettype.md)
- [AXValueGetTypeID()](applicationservices/1460780-axvaluegettypeid.md)
- [AXValueGetValue(_:_:_:)](applicationservices/1462933-axvaluegetvalue.md)
