GetCopyOfInternalListenStructure function
The GetCopyOfInternalListenStructure function will create a copy of the internal Listen structure and returns the ListenSession.Syntax
InternalListenStructure* __stdcall GetCopyOfInternalListenStructure(
__in ProtocolSession *psess,
__in int id,
__out ListenSession *lsess
);
Parameters
psess [in] A pointer to a ProtocolSession structure. This is a session assigned to a protocol at the moment it's loaded into the memory.
id [in] A integer containing a valid list id number. A valid list id number starts at 1. To get the maximum ammount of ListenSessions you can make a call to function CountListenSessions.
lsess [out]Return value
On succes a pointer to a
InternalListenStructure structure. You should free this structure with function
ReleaseCopyOfInternalListenStructure when done using it.
Remarks
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
|