G
Gary
Does anyone have the ICF API experiences?
We would like to use the ICF API in our program to automatically open
or close ports as needed.
But when i use the INetSharingPortMapping::Enable() or
INetSharingPortMapping:
elete() function under my Windows XP OS, it
causes a notification to appear on my local computer, every time I
have to choose "YES" or "NO" in order to continue this program. It is
very inconvenient for us to use this ICF API under our program. We
would like this program to continue running without user interruption.
Further look into the MSDN document related the ICF under following
website:
http://msdn.microsoft.com/library/d...ovide_notifications_to_the_user_interface.asp
Only four ICS/ICF methods will cause the notification to the user
interface:
INetSharingConfiguration:
isableInternetFirewall
INetSharingConfiguration:
isableSharing
INetSharingConfiguration::EnableInternetFirewall
INetSharingConfiguration::EnableSharing
I wonder why INetSharingPortMapping::Enable() and
INetSharingPortMapping:
elete() cause the notification to the user
interface.
Is there any way we could use INetSharingPortMapping::Enable() and
INetSharingPortMapping:
elete() without notification showing up?
Thank you !
Gary
We would like to use the ICF API in our program to automatically open
or close ports as needed.
But when i use the INetSharingPortMapping::Enable() or
INetSharingPortMapping:

causes a notification to appear on my local computer, every time I
have to choose "YES" or "NO" in order to continue this program. It is
very inconvenient for us to use this ICF API under our program. We
would like this program to continue running without user interruption.
Further look into the MSDN document related the ICF under following
website:
http://msdn.microsoft.com/library/d...ovide_notifications_to_the_user_interface.asp
Only four ICS/ICF methods will cause the notification to the user
interface:
INetSharingConfiguration:

INetSharingConfiguration:

INetSharingConfiguration::EnableInternetFirewall
INetSharingConfiguration::EnableSharing
I wonder why INetSharingPortMapping::Enable() and
INetSharingPortMapping:

interface.
Is there any way we could use INetSharingPortMapping::Enable() and
INetSharingPortMapping:

Thank you !
Gary