Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: desktop apps only
The GetProtocol method gets the FPCProtocolDefinition object, which provides access to protocols previously registered by the IFWXFilterAdmin::RegisterProtocol method.
Syntax
HRESULT GetProtocol(
[in] REFGUID guidProtocol,
[out] IFPCProtocolDefinition **ppProtocol
);
Parameters
guidProtocol [in]
The protocol's GUID as specified by IFWXFilterAdmin::RegisterProtocolppProtocol [out]
Address of a variable that receives the interface pointer to the FPCProtocolDefinition object.
Return value
This method can return one of these values.
S_OK
The method succeeded.E_OUTOFMEMORY
Not enough memory or resources could be allocated to complete the operation.HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)
A filter with that GUID does not exist.
Remarks
Use this method to change the configuration of a protocol.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only) |
Version |
Forefront Threat Management Gateway (TMG) 2010 |
Header |
Wspfwext.idl |
DLL |
Wspadmin.dll |
See also
Build date: 7/12/2010