Microsoft Internet Security and Acceleration Server 2004 SDK

IFWXSession::GetSessionFlags

The GetSessionFlags method retrieves flags that provide information about the session.

HRESULT GetSessionFlags(
  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 Values

This method returns S_OK if the call is successful; otherwise, it returns an error code.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Wspfwext.idl.

See Also

IFWXSession, IFWXFirewall::CreatePrivateSession