This command changes the scope of the
specified service.
For more information on profiles see
“Firewall Profiles”.
You can use mnGetServiceScope to determine the scope of 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.
int Scope: This is the scope that the service should be
set to.
Possible scope:
0: all
1: local subnet only
2: custom
0 if no error occurred.
-1 if an error occurred.
DBP
C++
.Net