# IChangeListener Struct Reference
[Shell Interfaces]

Inheritance diagram for IChangeListener:

List of all members.

## Public Member Functions
virtual void MCCOMAPI | DataChanged (IChangeChannel *channel, IDType changeKind, IMCUnknown *changedData)=0

## Detailed Description

The generic interface for a listener in a change channel (see IChangeChannel).

If you want to be notified from changes, you can derive your class from this interface and register it in a change channel.

## Member Function Documentation

virtual void MCCOMAPI IChangeListener::DataChanged | ( | IChangeChannel * | channel,
|  | IDType | changeKind,
|  | IMCUnknown * | changedData |
| ) |  |  | `[pure virtual]`

This function is called when a change has been posted on a channel on which this IChangeListener registered itself.

Parameters:

  | channel | The channel that is notifying of the change.
  | changeKind | The kind of change.
  | changedData | Data associated with the type of change.

Implemented in TBasicPreviewPart, TBasicModule, and TBasicPropertiesClient.

The documentation for this struct was generated from the following file:

- IChangeManagement.h