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
Only four ICS/ICF methods will cause the notification to the user
I wonder why INetSharingPortMapping::Enable() and
INetSharingPortMapping::Delete() cause the notification to the user
Is there any way we could use INetSharingPortMapping::Enable() and
INetSharingPortMapping::Delete() without notification showing up?
Thank you !