This command returns 1 if the specified
service is enabled and 0 if it is disabled.
For more information on profiles see
“Firewall Profiles”.
You can use mnSetServiceEnabled to enable or disable a service.
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.
0 if the specified service is disabled
1 if the specified service is enabled
-1 if an error occurred.
DBP
C++
.Net