Share via


UiaGetErrorDescription Function

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

Gets an error string so that it can be passed to the client. This method is not used directly by clients.

Syntax

BOOL UiaGetErrorDescription(      
    BSTR *pDescription
);

Parameters

  • pDescription
    [out] The address of a variable that receives the description of the error. This parameter is passed uninitialized.

Return Value

TRUE if an error description can be reported; otherwise FALSE.

Function Information

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