Obtains the value of an element in a transaction.
- macOS 10.0+
- Mac Catalyst 13.0+
The element of interest.
The event that will be filled. If a long value is present, it is up to the caller to deallocate it.
Returns an IOReturn code.
An error will be returned if the element has not been added to the transaction.