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


SAFEARRAY UiaProviderCallback(
  _In_ HWND         hwnd,
  _In_ ProviderType providerType
);

Parameters

hwnd [in]

Type: HWND

The handle of the window served by the provider.

providerType [in]

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]

Header

UIAutomationCoreApi.h

 

 

Show: