This command deletes a port entry associated
with a service.
For more information on profiles see
“Firewall Profiles”.
You can use mnDeleteServicePortB to delete a port by its port ID.
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.
long PortNumber: This is the port number of the port.
int Protocol: This is the protocol of the port.
17: UDP
6: TCP
0 if no error occurred.
-1 if an error occurred.
DBP
C++
.Net