uscmd (USHORT)

      Command.

      Defines the criteria by which the string specified by the pszSearchString parameter is to be compared with the text of the items, to determine the index of the first matching item.

      These values can be combined using the logical-OR operator:

      LSS_CASESENSITIVE

        Matching occurs if the item contains the characters specified by the pszSearchString parameter exactly.

        This value is mandatory.

      LSS_PREFIX
        Matching occurs if the leading characters of the item contain the characters specified by the pszSearchString parameter.

        If this value is specified, LSS_SUBSTRING must not be specified.

      LSS_SUBSTRING
        Matching occurs if the item contains a substring of the characters specified by the pszSearchString parameter.

        If this value is specified, LSS_PREFIX must not be specified.

      sItemStart (SHORT)

        Index of the start item.

        LIT_FIRST

          Start the search at the first item.
        Other
          Start the search after the item specified by this index.

        pszSearchString (PSZ)

          Search string.

          This points to the string to search for.

        sItemMatched (SHORT)

          Index item whose text matches the string.

          LIT_ERROR

            Error occurred
          LIT_NONE
            No item found
          Other
            Index item whose text matches the string.


          [Back] [Next]