This command deletes a port entry associated
with a service.
For more information on profiles see
“Firewall Profiles”.
You can use mnDeleteServicePortA to delete a port by its port number and protocol.
unsigned int ProfileID: This is the ID of the profile that the command
should use.
unsigned int ServiceID: This is the ID of the service that the command
should use.
unsigned int PortID: This is the ID of the service port to delete.
0 if no error occurred.
-1 if an error occurred.
DBP
C++
.Net