UiaProviderCallback callback function

Note  This function is deprecated. Client applications should use the Microsoft UI Automation Component Object Model (COM) interfaces instead.
 
An application-defined function that is called by UI Automation to obtain a client-side provider for an element.

Syntax

UiaProviderCallback Uiaprovidercallback;

SAFEARRAY * Uiaprovidercallback(
  HWND hwnd,
  ProviderType providerType
)
{...}

Parameters

hwnd

Type: HWND

The handle of the window served by the provider.

providerType

Type: ProviderType

A value from the ProviderType enumerated type specifying the type of provider that is being requested.

Return Value

Type: SAFEARRAY

A SAFEARRAY containing the requested provider.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header uiautomationcoreapi.h