This command enables or disables the
specified service.
For more information on profiles see
“Firewall Profiles”.
You can use mnGetServiceEnabled to determine whether the specified service is enabled or disabled.
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.
bool Enabled: True is the specified service should be enabled, false if it should be disabled.
0 if no error occurred.
-1 if an error occurred.
DBP
C++
.Net