Skip to content

An AI Agent that interacts with Windows OS at GUI level.

Python
1.7 KB
Raw Blame

GetColumnHeaderItems

Original Documentation

ITableItemProvider::GetColumnHeaderItems method (uiautomationcore.h)

Retrieves a collection of Microsoft UI Automation provider representing all the column headers associated with a table item or cell.

Syntax

HRESULT GetColumnHeaderItems(
  [out, retval] SAFEARRAY **pRetVal
);

Parameters

[out, retval] pRetVal

Type: SAFEARRAY**

Receives a pointer to a SAFEARRAY that contains an array of pointers to the IRawElementProviderSimple interfaces of the column headers. This parameter is passed uninitialized.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps
Minimum supported server Windows Server 2003 [desktop apps
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See also

Best Practices for Using Safe Arrays

Conceptual

ITableItemProvider

Reference

UI Automation Providers Overview