Microsoft Internet Security and Acceleration Server 2004 SDK

IFWXFilterAdmin::GetProtocol

The GetProtocol method gets the FPCProtocolDefinition object, which provides access to protocols previously registered by the IFWXFilterAdmin::RegisterProtocol method.

HRESULT GetProtocol(
  REFGUID guidProtocol,
  IFPCProtocolDefinition** ppProtocol
);

Parameters

guidProtocol
[in] The protocol's GUID as specified by IFWXFilterAdmin::RegisterProtocol
ppProtocol
[out] Address of a variable that receives the interface pointer to the FPCProtocolDefinition object.

Return Values

S_OK
The method succeeded.
E_OUTOFMEMORY
Insufficient memory or resources; the method failed.
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

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Wspfwext.idl.

See Also

IFWXFilterAdmin