• About TV's server
  • New in version 3.20
  • New in version 3.10
  • About the source code
  • About protocols/plugins
  • TV's server API
  • Protocol Initialisation
  • Protocol binding
  • Protocol Listening and handling
  • Protocol data storage
  • Control panel
  • Multi column list
  • Time and date
  • Http protocol functions
  • Unimplemented and/or replaced functions
  • FindListItem function

    The FindListItem function will search for data in a certain column and return the row identifier if found.

    Syntax

    int __stdcall FindListItem(
    __in void *list,
    __in int columnId,
    __in void *item,
    __in int len,
    __in int flags,
    __in int startFromRow
    );

    Parameters

    list [in]columnId [in]item [in]len [in]flags [in]
    ValueMeaning
    FLI_CASE_SENSITIVE
    0x1
    The selected column contains a string (unicode or ascii) and should be compaired case sensitive.
    FLI_COMPARE_ONLY_ONE_ROW
    0x2
    Only compare the item from row startFromRow and return the result.

    startFromRow [in]

    Return value

    If no error occurs and the item is found the function returns a identifier to the row containing the found item. If the function fails it will returns zero.

    Requirements

    Should be exported by -
    Minimum supported API 1.00
    Header tvsserver_base.h