Edit

Share via


IUIAutomationClientInfoSource::UnregisterClientConnectionCallback method (uiautomationcore.h)

Unregisters a previously registered connection callback.

Syntax

HRESULT UnregisterClientConnectionCallback(
  [in] unsigned __int64 handle
);

Parameters

[in] handle

A handle to the previously registered callback.

Return value

S_OK - If the callback is unregistered successfully.

S_FALSE - If the handle is not found (callback may have already been unregistered).

E_INVALIDARG - If the handle value is invalid.

Remarks

Safe to call multiple times with the same handle.

After successful unregistration, the callback will no longer be invoked.

The callback interface can be released after successful unregistration.

Requirements

Requirement Value
Minimum supported client Windows build 26100
Header uiautomationcore.h

See also

RegisterClientConnectionCallback