HD_TEXTFILTERW structure (commctrl.h)

Contains information about header control text filters.

Syntax

typedef struct _HD_TEXTFILTERW {
  LPWSTR pszText;
  INT    cchTextMax;
} HD_TEXTFILTERW, *LPHD_TEXTFILTERW;

Members

pszText

Type: LPTSTR

A pointer to the buffer containing the filter.

cchTextMax

Type: INT

A value specifying the maximum size, in characters, for an edit control buffer.

Remarks

Note

The commctrl.h header defines HD_TEXTFILTER as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header commctrl.h