TeamTalk 4 C-API DLL  Version 4.5A
Windows Firewall

The Windows Firewall can be modified so applications can be added to the firewall's exception list. More...

Functions

TEAMTALKDLL_API BOOL TT_Firewall_IsEnabled ()
 Check if the Windows Firewall is currently enabled. More...
 
TEAMTALKDLL_API BOOL TT_Firewall_Enable (IN BOOL bEnable)
 Enable/disable the Windows Firewall. More...
 
TEAMTALKDLL_API BOOL TT_Firewall_AppExceptionExists (IN const TTCHAR *szExecutable)
 Check if an executable is already in the Windows Firewall exception list. More...
 
TEAMTALKDLL_API BOOL TT_Firewall_AddAppException (IN const TTCHAR *szName, IN const TTCHAR *szExecutable)
 Add an application to the Windows Firewall exception list. More...
 
TEAMTALKDLL_API BOOL TT_Firewall_RemoveAppException (IN const TTCHAR *szExecutable)
 Remove an application from the Windows Firewall exception list. More...
 

Detailed Description

The Windows Firewall can be modified so applications can be added to the firewall's exception list.

The Windows Firewall was introduced in Windows XP SP2. Modifying the Windows Firewall requires administrator rights. On Windows XP the user running the application, which calls the DLL, is assumed to have administrator rights. On Windows Vista/7 the DLL will automatically call User Account Control (UAC) to obtain administrator rights.

Check out TT_Firewall_AddAppException() on how to add application executables to the Windows Firewall exception list.

Function Documentation

TEAMTALKDLL_API BOOL TT_Firewall_IsEnabled ( )

Check if the Windows Firewall is currently enabled.

This function does not invoke UAC on Windows Vista/7.

See Also
TT_Firewall_Enable
TEAMTALKDLL_API BOOL TT_Firewall_Enable ( IN BOOL  bEnable)

Enable/disable the Windows Firewall.

The Windows Firewall was introduced in Windows XP SP2.

On Windows XP (SP2+) the user calling this function is assumed to have administrator rights. On Windows Vista/7 UAC is invoked to ask the user for administrator rights.

See Also
TT_Firewall_IsEnabled
TEAMTALKDLL_API BOOL TT_Firewall_AppExceptionExists ( IN const TTCHAR szExecutable)

Check if an executable is already in the Windows Firewall exception list.

This function does not invoke UAC on Windows Vista/7.

See Also
TT_Firewall_AddAppException
TEAMTALKDLL_API BOOL TT_Firewall_AddAppException ( IN const TTCHAR szName,
IN const TTCHAR szExecutable 
)

Add an application to the Windows Firewall exception list.

On Windows XP (SP2+) the user calling this function is assumed to have administrator rights. On Windows Vista/7 UAC is invoked to ask the user for administrator rights.

See Also
TT_Firewall_AppExceptionExists
TT_Firewall_RemoveAppException
TEAMTALKDLL_API BOOL TT_Firewall_RemoveAppException ( IN const TTCHAR szExecutable)

Remove an application from the Windows Firewall exception list.

On Windows XP (SP2+) the user calling this function is assumed to have administrator rights. On Windows Vista/7 UAC is invoked to ask the user for administrator rights.

See Also
TT_Firewall_AppExceptionExists
TT_Firewall_AddAppException