Prev Previous Post   Next Post Next

Internet Connection Sharing and Internet Connection Firewall question

Posted: 11-03-2003, 11:32 PM
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 required.

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/de..._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
Reply With Quote

Responses to "Internet Connection Sharing and Internet Connection Firewall question"

 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add Internet Connection Sharing & Firewall Tony Y Windows XP Embedded 1 03-01-2006 02:14 AM
Internet Connection Sharing and Internet Connection Firewall question Gary Windows XP Embedded 3 11-04-2003 04:16 PM
Internet Connection Sharing and Internet Connection Firewall question Gary Windows XP Security & Administration 0 11-03-2003 11:23 PM
DSL Internet connection sharing with firewall flipper Windows XP Security & Administration 0 10-14-2003 04:21 AM
Cannot use firewall or Internet Connection Sharing BC Windows XP Hardware 1 09-09-2003 09:26 PM