AXUIElementGetPid(_:_:)
Returns the process ID associated with the specified accessibility object.
Declaration
func AXUIElementGetPid(_ element: AXUIElement, _ pid: UnsafeMutablePointer<pid_t>) -> AXErrorParameters
- element:
The AXUIElementRef representing an accessibility object.
- pid:
On return, the process ID associated with the specified accessibility object.
Return Value
If unsuccessful, AXUIElementGetPid may return one of the following error codes, among others:
kAXErrorIllegalArgumentOne or more of the arguments is an illegal value.
kAXErrorInvalidUIElementThe AXUIElementRef is invalid.
See Also
Miscellaneous
AXIsProcessTrusted()AXIsProcessTrustedWithOptions(_:)AXUIElementCopyActionDescription(_:_:_:)AXUIElementCopyActionNames(_:_:)AXUIElementCopyAttributeNames(_:_:)AXUIElementCopyAttributeValue(_:_:_:)AXUIElementCopyAttributeValues(_:_:_:_:_:)AXUIElementCopyElementAtPosition(_:_:_:_:)AXUIElementCopyMultipleAttributeValues(_:_:_:_:)AXUIElementCopyParameterizedAttributeNames(_:_:)AXUIElementCopyParameterizedAttributeValue(_:_:_:_:)AXUIElementCreateApplication(_:)AXUIElementCreateSystemWide()AXUIElementGetAttributeValueCount(_:_:_:)AXUIElementGetTypeID()AXUIElementIsAttributeSettable(_:_:_:)AXUIElementPerformAction(_:_:)AXUIElementSetAttributeValue(_:_:_:)AXUIElementSetMessagingTimeout(_:_:)