IFPCProtocolConnection::SetICMP method
Applies to: desktop apps only
The SetICMP method sets all of the parameters of an ICMP connection.
Syntax
HRESULT SetICMP(
[in] long Code,
[in] long Type,
[in] FpcUDPConnectionDirectionType Direction
);
FPCProtocolConnection.SetICMP( _
ByVal Code As Long, _
ByVal Type As Long, _
ByVal Direction As FpcUDPConnectionDirectionType _
)
Parameters
Code [in]
A 32-bit integer that specifies the ICMP code. For the list of ICMP types and codes defined by the IANA, see ICMP Type Numbers.Type [in]
A 32-bit integer that specifies the ICMP type.Direction [in]
Value from the FpcUDPConnectionDirectionType enumerated type that specifies the direction in which the connection can be opened.
Return value
C++
This method returns S_OK if the call is successful; otherwise, it returns an error code.
VB
This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only) |
Version |
Forefront Threat Management Gateway (TMG) 2010 |
IDL |
Msfpccom.idl |
DLL |
Msfpccom.dll |
See also
Build date: 7/12/2010