Share via


CheckWindowContents (Standard 7 SP1)

7/8/2014

The second filter that can filter windows and log the content of the window.

Syntax

HRESULT CheckWindowContents(
    IObjectInfo* pObjectInfo
);

Parameters

  • pObjectInfo
    [in] An instance of an object that implements the IObjectInfo interface.

Return Value

This function returns the following:

Return value

Description

ERROR_SUCCESS

The operation completed successfully.

Remarks

CheckWindowContents is the second filter, used mainly to filter and/or log the content of the window. Because logging can be an expensive operation in terms of processor load, logging is independent of window usage. The user can interact with the window while this operation is occurring. This function is single threaded, so the service will serialize calls to it. This function is also responsible for performing whatever action is specified, such as pressing a button or posting a message (For example sending a close message to a window).

Requirements

OS Versions: Standard 7

Header:

Link Library: DialogFilterXmlFilter.tlb

See Also

Reference

ObjectFilter Class
ObjectInfo Class
CheckWindow
LogMessage