Microsoft Internet Security and Acceleration Server 2004 SDK |
The Deny method denies the current operation on the connection object.
HRESULT Deny( DWORD Reserved );
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.
Note For an event of type fwx_Udp_Destination, use the IFWXUdpDestination::Deny method instead of the IFWXConnection::Deny method. Outbound UDP packets sent to a denied destination will be discarded.
Server: Requires Windows Server 2003 or
Windows 2000.
Version: Requires Internet Security and Acceleration
Server 2004.
Header: Declared in Wspfwext.idl.