UiaHostProviderFromHwnd Function
Gets an interface to the host provider for a window.
Syntax
HRESULT UiaHostProviderFromHwnd( HWND hwnd, IRawElementProviderSimple *lparam );
Parameters
- hwnd
[in] The window containing the element served by the provider.- lparam
[in] Pointer to the provider interface.
Return Value
Returns S_OK if successful or an error value otherwise.
Function Information
Stock Implementation uiautomationcore.dll Custom Implementation No Header uiautomationcoreapi.h Import library uiautomationcore.lib Minimum operating systems Windows XP