IFWXSession::GetSessionFlags method
Applies to: desktop apps only
The GetSessionFlags method retrieves flags that provide information about the session.
Syntax
HRESULT GetSessionFlags(
[out] LPDWORD pOutputFlags
);
Parameters
pOutputFlags [out]
Pointer to a variable that receives the session flags. The flags can be a combination of the following values:Value Meaning FWX_SESSION_NAT The session is using SecureNAT, or is a session between routed networks (not a Microsoft Firewall service control channel).
FWX_SESSION_PRIVATE The session was created by a filter by using IFWXFirewall::CreatePrivateSession.
FWX_SESSION_AUTHENTICATED The Firewall service authenticated the session.
FWX_SESSION_TERMINATED The session was terminated and is no longer valid.
Return value
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only) |
Version |
Forefront Threat Management Gateway (TMG) 2010 |
Header |
Wspfwext.idl |
DLL |
Wspsrv.exe |
See also
IFWXFirewall::CreatePrivateSession
Build date: 7/12/2010