FILTERREGION Structure

Describes the position and extent of a specified portion of text within an object. This structure is used by the IFilter::BindRegion method.

Syntax

typedef struct tagFILTERREGION {
    ULONG idChunk;
    ULONG cwcStart;
    ULONG cwcExtent;
} FILTERREGION;

Members

  • idChunk
    Chunk ID.
  • cwcStart
    Beginning of the region, specified as an offset from the beginning of the chunk.
  • cwcExtent
    Extent of the region, specified as a number of Unicode characters.

Remarks

The cwcExtent member might specify a number of characters (starting from a position the cwcStart member specifies) that extends beyond the end of the chunk. In that case, the region should be continued into the next chunk, which should have the same attribute as the current region.

Structure Information

Header filter.h
Minimum operating systems Windows NT 4.0 with the Windows NT 4.0 Option Pack, Windows 2000

See Also

IFilter::BindRegion