The Deny method denies the current operation on the connection object.
HRESULT Deny( [in] DWORD Reserved );
Reserved for future use. The parameter value must be zero.
The connection will be denied.
Invalid value was passed to the Reserved parameter.
The method was not called while handling any of the supported events.
This method is rarely used. Using policy rules administration methods is the preferred way to control user activity.
This method must only be called in the context of the IFWXSessionFilter::FirewallEventHandler method while handling events of types:
The action that caused the event will be canceled. A bind operation will fail with error code 10048 (WSAEADDRINUSE). A connect operation will fail with error code 10061 (WSAECONNREFUSED). An accepted connection will be aborted.
|Server||Requires Windows Server 2008.|
|Version||Requires Forefront Threat Management Gateway (TMG).|
Declared in Wspfwext.idl.
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.[an error occurred while processing this directive]