Share via


ReadWindowContents (Standard 7 SP1)

7/8/2014

This function performs the complex task of enumerating controls within a window. The default implementation uses UIAutomation to obtain all the buttons. For more information, see UI Automation Clients for Managed Code.

Note

Most MSDN documentation for UIAutomation will target Managed Code through .NET; however, Windows 7 and Windows Embedded Standard 7 also allow Native access without the .NET dependency.

Syntax

HRESULT ReadWindowContents();

Parameters

None.

Return Value

This function returns the following:

Return value

Description

ERROR_SUCCESS

The operation completed successfully.

Remarks

Action lists are assumed to be empty until ReadWindowContents is called.

Requirements

OS Versions: Standard 7

Header:

Link Library: DialogFilterXmlFilter.tlb

See Also

Reference

ReadWindowContents
ObjectInfo Class
CreateObjectInfo