GridPattern_GetItem
TOC
Collapse the table of content
Expand the table of content

GridPattern_GetItem function

Note  This function is deprecated. Client applications should use the Microsoft UI Automation Component Object Model (COM) interfaces instead.
 

Gets the node for an item in a grid.

Syntax


HRESULT GridPattern_GetItem(
  _In_  HUIAPATTERNOBJECT hobj,
  _In_  int               row,
  _In_  int               column,
  _Out_ HUIANODE          *pResult
);

Parameters

hobj [in]

Type: HUIAPATTERNOBJECT

The control pattern object.

row [in]

Type: int

The row of the node being requested.

column [in]

Type: int

The column of the node being requested.

pResult [out]

Type: HUIANODE*

When this function returns, contains a pointer to the node for the cell at the specified location. This parameter is passed uninitialized.

Return value

Type: HRESULT

Returns S_OK if successful or an error value otherwise.

Remarks

Row 0, column 0 is the first item in a grid.

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:
© 2016 Microsoft