• About TV's server
  • 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
  • GetAPIVersion function

    The GetAPIVersion function will return the current API version.

    Syntax

    int __stdcall GetAPIVersion(
    __in int flags
    );

    Parameters

    flags [in]
    ValueMeaning
    GAV_LOWEST_SUPPORTED_VERSION
    0x1
    Instead of returning the current API version, it will return the lowest supported API version.

    Return value

    This return value can be one of the following values:
    ValueMeaning
    V_TV_SERVER_1
    0
    A reference to API version 1.00 of TV's server.
    V_TV_SERVER_101
    1
    A reference to API version 1.01 of TV's server.

    Requirements

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