• 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
  • GetCopyOfInternalProtocolStructures function

    The GetCopyOfInternalProtocolStructures function will create a copy of the internal protocol structures and returns the first structure in the linked list.

    Syntax

    InternalProtocolStructure* __stdcall GetCopyOfInternalProtocolStructures(
    __in ProtocolSession psess
    );

    Parameters

    psess [in]

    Return value

    On succes a pointer to a copy to the first structure in the linked list of internal protocol structures. You should free this structure with function ReleaseCopyOfInternalProtocolStructures when done using it.

    Remarks

    Register a ProtocolIsLoaded function by calling RegisterProtocolLoadedCallbackFunction to get an acknowledgement when there is a new protocol loaded. This could give your program the time to refresh the InternalProtocolStructure structure.

    The protocol needs to set the flag PT_CONTROLPANEL with the function SetProtocolInformation to be able to execute this function.

    Requirements

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