TeamTalk 5 C-API DLL Version 5.15A
Loading...
Searching...
No Matches
Windows Firewall

This section explains how to configure the Windows firewall available in Windows XP SP2 and later. More...

Functions

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

Detailed Description

This section explains how to configure the Windows firewall available in Windows XP SP2 and later.

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

◆ TT_Firewall_IsEnabled()

TEAMTALKDLL_API TTBOOL TT_Firewall_IsEnabled ( void  )

Check if the Windows Firewall is currently enabled.

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

See also
TT_Firewall_Enable

◆ TT_Firewall_Enable()

TEAMTALKDLL_API TTBOOL TT_Firewall_Enable ( IN TTBOOL  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

◆ TT_Firewall_AppExceptionExists()

TEAMTALKDLL_API TTBOOL 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

◆ TT_Firewall_AddAppException()

TEAMTALKDLL_API TTBOOL 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

◆ TT_Firewall_RemoveAppException()

TEAMTALKDLL_API TTBOOL 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