GridPattern_GetItem Function

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

Gets the node for an item in a grid.

Syntax

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

Parameters

  • hobj
    [in] The control pattern object.
  • row
    [in] The row of the node being requested.
  • column
    [in] The column of the node being requested.
  • pResult
    [out] When this function returns, contains a pointer to the node for the cell at the specified location. This parameter is passed uninitialized.

Return Value

Returns S_OK if successful or an error value otherwise.

Remarks

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

Function Information

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