Share via


UiaProviderCallback Function

Note  This function is deprecated. Client applications should use the Microsoft UI Automation COM interfaces instead.

An application-defined method that is called by UI Automation to obtain a client-side provider for an element.

Syntax

SAFEARRAY UiaProviderCallback(      
    HWND hwnd,
    ProviderType providerType
);

Parameters

  • hwnd
    [in] The handle of the window served by the provider.
  • providerType
    [in] A value from the ProviderType enumerated type specifying the type of provider that is being requested.

Return Value

A SAFEARRAY containing the requested provider.

Function Information

Stock Implementation uiautomationcore.dll
Custom Implementation No
Header uiautomationcoreapi.h
Import library uiautomationcore.lib
Minimum operating systems Windows XP