Gets the list of ports that are monitored by Web Monitor and Mail Monitor.
This function is available in KAV SDK for Windows platforms.
Syntax
HRESULT kaveGetMonitorPorts (
const unsigned short *ports,
unsigned short *portsCount);
Parameters
The kaveGetMonitorPorts function has the following parameters.
kaveGetMonitorPorts function parameters
Name |
Type |
Description |
|---|---|---|
|
In/Out |
Buffer for the list of the monitored ports. If the number of currently monitored ports exceeds the size of
|
|
In/Out |
Number of ports to obtain from the list of currently monitored ports. Before the
|
Return value
The table below describes the possible return values of the kaveGetMonitorPorts function.
kaveGetMonitorPorts function return codes
Return code |
Description |
|---|---|
|
The function succeeds. |
|
Zero ( |
|
The value contained in |
|
The function failed. If logging is turned on, an error message is added to the log. |
For information about other return values, see section "Return codes".
Page top