AcceptProtocol function
The AcceptProtocol function will enable the plugin.Syntax
int __stdcall AcceptProtocol(
__in ProtocolSession *psess
);
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.
Return value
If no error occurs the function returns True (one). If the function fails it will return False (zero).
Remarks
This function will restore any data saved by
SavePluginData if the protocol was loaded before.
Call this function when you set al the properties, like function
SetProtocolInformation and
SetControlPanelOptions.
When flag PT_CONTROLPANEL is set by function
SetProtocolInformation this function will only return true when the user accepted this protocol to run with these rights.
Requirements
Should be exported by | -
|
Minimum supported API | 1.00
|
Header | tvsserver_base.h
|