A Boolean value that controls whether the Windows Firewall is opened automatically when the server is running.
#include "ltms.h"
| Language | Syntax |
|---|---|
| C | HRESULT IltmsNetworkProperties_put_OpenWindowsFirewall(pNetworkProperties, newVal) |
| C++ | HRESULT put_OpenWindowsFirewall(newVal) |
Pointer to an IltmsNetworkProperties interface.
Value that indicates whether to open the Windows firewall automatically.
| Value | Meaning |
|---|---|
| S_OK | The function was successful. |
| <> S_OK | An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation. |
If the firewall is opened automatically the server will close it when it stops running.
Win32, x64.
For a C++ example, refer to the Set Network Properties Example for C++.