IHeaderCtrl2 interface (mmc.h)

The IHeaderCtrl2 interface is introduced in MMC 1.2.

The IHeaderCtrl2 interface enables the manipulation of columns and indicates the kind of information that is to be presented in the result view pane of the console.

IHeaderCtrl2 is a new version of the IHeaderCtrl interface for MMC 1.2. IHeaderCtrl2 is the same as IHeaderCtrl with the addition of the following methods:

These methods provide support for users to filter list views based on filters set on each column in the result view. Be aware that a return value of E_NOTIMPL by any one of these methods indicates that list view filtering is not available in the version of MMC in which the snap-in is loaded.

The IHeaderCtrl2 interface can be queried from the IConsole interface passed into IComponent::Initialize during the component's creation.

Inheritance

The IHeaderCtrl2 interface inherits from the IUnknown interface. IHeaderCtrl2 also has these types of members:

Methods

The IHeaderCtrl2 interface has these methods.

 
IHeaderCtrl2::GetColumnFilter

The IHeaderCtrl2::GetColumnFilter method retrieves the filter value set on the specified column.
IHeaderCtrl2::SetChangeTimeOut

The IHeaderCtrl2::SetChangeTimeOut sets the time-out interval between the time a change takes place in the filter attributes and the posting of an MMCN_FILTER_CHANGE filter change notification, which is sent to the snap-in's IComponent::Notify method.
IHeaderCtrl2::SetColumnFilter

The IHeaderCtrl2::SetColumnFilter sets the filter value and its maximum character length for a specified column in a filtered list.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header mmc.h