Share via


SYNC_FILTER_CHANGE Structure

Represents information about a change that causes an item to move into or out of a filter.

typedef struct _SYNC_FILTER_CHANGE
{
  BOOL         fMoveIn;
  SYNC_VERSION moveVersion;
} SYNC_FILTER_CHANGE;

Members

  • fMoveIn
    TRUE when the item is in the filter; otherwise, FALSE.
  • moveVersion
    The version of the change that causes the item to move into or out of the filter.

Remarks

A change can cause an item to move into or out of a filter. For example, items contain a state field, and a filter excludes any item with its state field equal to "Washington". When an item with state equal to "Washington" changes so that state equals "Oregon", the item moves into the filter.

The values of the elements of this structure can be interpreted according to the following table.

Value of fMoveIn Value of moveVersion Meaning

TRUE

The creation version of the item.

The item has been in the filter since it was created.

TRUE

A version other than the creation version of the item.

The item moved into the filter when the change with version of moveVersion was made.

FALSE

Set to 0.

The item has not been in the filter since filter tracking began.

FALSE

A version other than 0.

The item moved out of the filter when the change with version of moveVersion was made.

Requirements

Header: Synchronization.h

See Also

Concepts

Sync Framework Core Components