UiaGetErrorDescription function

Note  This function is deprecated. Client applications should use the Microsoft UI Automation Component Object Model (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(
  _Out_ BSTR *pDescription
);

Parameters

pDescription [out]

Type: BSTR*

The address of a variable that receives the description of the error. This parameter is passed uninitialized.

Return value

Type: BOOL

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

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

UIAutomationCoreApi.h

Library

Uiautomationcore.lib

DLL

Uiautomationcore.dll

 

 

Show: