The GetProtocol method gets the FPCProtocolDefinition object, which provides access to protocols previously registered by the IFWXFilterAdmin::RegisterProtocol method.
HRESULT GetProtocol( [in] REFGUID guidProtocol, [out] IFPCProtocolDefinition** ppProtocol );
The protocol's GUID as specified by IFWXFilterAdmin::RegisterProtocol
Address of a variable that receives the interface pointer to the FPCProtocolDefinition object.
The method succeeded.
Not enough memory or resources could be allocated to complete the operation.
A filter with that GUID does not exist.
Use this method to change the configuration of a protocol.
Server | Requires Windows Server 2008. |
---|---|
Version | Requires Forefront Threat Management Gateway (TMG). |
Header |
Declared in Wspfwext.idl. |
DLL |
Requires Wspadmin.dll. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.