UnbindProtocol function
[This function is replaced by function CloseListenSession and has never been implemented]
The UnBindProtocol function will stop from executing and unbind a listensession or will delete a bind request from the que.Syntax
int __stdcall UnbindProtocol(
__in ProtocolSession *psess,
__in ListenSession *lsess,
__in BindStruct *bindTo
);
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.
lsess [in] A pointer to a ListenSession structure. This is a session assigned to a plugin at the moment a user defines a new connection.
bindTo [in] A pointer to a BindStruct structure containing the first protocol in the bind chain.
Return value
If no error occurs the function returns True (one). If the function fails it will return False (zero).
Remarks
The protocol needs to set the flag PT_CONTROLPANEL with the function
SetProtocolInformation to be able to execute this function.
If parameter
lsess is
not zero this function will unbind the
listensession and ignore the
bindTo parameter
If parameter
lsess is
zero this function will find the the
bindTo structure placed in the que by function
BindToProtocol and delete it from this que.
Requirements
Should be exported by | -
|
Minimum supported API | 1.00
|
Header | tvsserver_base.h
|