UiaLookupId function

Note  This function is deprecated. Client applications should use the Microsoft UI Automation Component Object Model (COM) interfaces instead.
 
Gets the integer identifier that can be used in methods that require a PROPERTYID, PATTERNID, CONTROLTYPEID, TEXTATTRIBUTEID, or EVENTID.

Syntax

int UiaLookupId(
  AutomationIdentifierType type,
  const GUID               *pGuid
);

Parameters

type

Type: AutomationIdentifierType

A value from the AutomationIdentifierType enumerated type that specifies the type of identifier to look up.

pGuid

Type: GUID*

The address of the unique identifier of the property, pattern, control type, text attribute, or event.

Return value

Type: int

Returns an integer identifier.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header uiautomationcoreapi.h
Library Uiautomationcore.lib
DLL Uiautomationcore.dll

See also

Conceptual

GUIDs

Property Identifiers