Internet Connection Sharing and Internet Connection Firewall question

Internet Connection Sharing and Internet Connection Firewall question

Post by glin » Fri, 07 Nov 2003 00:24:20


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::Delete() 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://www.yqcomputer.com/

Only four ICS/ICF methods will cause the notification to the user
interface:
INetSharingConfiguration::DisableInternetFirewall
INetSharingConfiguration::DisableSharing
INetSharingConfiguration::EnableInternetFirewall
INetSharingConfiguration::EnableSharing

I wonder why INetSharingPortMapping::Enable() and
INetSharingPortMapping::Delete() cause the notification to the user
interface.

Is there any way we could use INetSharingPortMapping::Enable() and
INetSharingPortMapping::Delete() without notification showing up?

Thank you !
Gary
 
 
 

1. How can i share internet connection from a shared internet connection?

2. No video or audio connection with Internet Connection Firewall

I am using XP Pro SP1 and when I have XP's Internet
Connection Firewall turned on I cannot have a video
conference with my brother or father until I turn the ICF
off. They are both using XP Home. I get a message that
says "your video or voice conversation with Bob has
ended". As soon as I turn the firewall off everything is
fine. This began happening about 8 months ago and I
remedied it by reinstalling the NIC driver (Intel). The
problem is back, but reinstalling does not remedy the
problem any more. I am not using the March 2003 Intel
driver. There are no routers at either end and both my
brother and father say their ICF works fine with Windows
Messenger. The problem seems like a UPnP failure. I've
made sure it is installed. Thanks
Mark

3. Internet connection sharing, WLAN and internet on my PDA...

4. could not start the Windows Firewall/Internet Connection Sharing

5. No Windows Firewall/Internet Connection Sharing after SP1

6. Windows Firewall/Internet Connection Sharing (ICS) - Won'tstay

7. Firewall/Internet Connection Sharing

8. Error loading Windows Firewall/Internet Connection Sharing s

9. getting to shares through internet connection firewall

10. help with Windows Firewall/Internet Connection Sharing (ICS) s

11. Connecting Internet with Internet connection sharing (ICS) in winxp

12. Windows Firewall/Internet Connection Sharing (ICS)

13. cannot start windows firewall/internet connection sharing(ics)

14. Internet Connection Sharing and Firewall Component

15. Internet Connection Sharing enabled, still no access to the internet