Jump to content

MLE SEARCHDATA

From EDM2
Revision as of 19:20, 25 April 2025 by Martini (talk | contribs) (Created page with "Search structure for multi-line entry field. == Type == struct == C Declaration Method == typedef == Example Code == <pre> typedef struct _SEARCH { USHORT cb; Size of structure.: PCHAR pchFind; String to search for.: PCHAR pchReplace; String to replace with.: SHORT cchFind; Length of pchFind string.: SHORT cchReplace; Length of pchReplace string.: IPT iptStart; /* Point at which...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Search structure for multi-line entry field.

Type

struct

C Declaration Method

typedef

Example Code

typedef struct _SEARCH {
  USHORT     cb;          /* Size of structure. */
  PCHAR      pchFind;     /* String to search for. */
  PCHAR      pchReplace;  /* String to replace with. */
  SHORT      cchFind;     /* Length of pchFind string. */
  SHORT      cchReplace;  /* Length of pchReplace string. */
  IPT        iptStart;    /* Point at which to start search, or point where string was found. */
  IPT        iptStop;     /* Point at which to stop search. */
  USHORT     cchFound;    /* Length of string found at iptStart. */
} MLE_SEARCHDATA;

typedef   MLE_SEARCHDATA   * PMLE_SEARCHDATA ;