This command returns the type of the
specified service.
For more information on profiles see “Firewall Profiles”.
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 of file and print sharing type.
1 if the specified service is of Universal Plug and Play framework type.
2 if the specified service is of Remote Desktop type.
3 if the specified service does not have
a valid type.
-1 if an error occurred.
DBP
C++
.Net