Share via


IFWXFilterAdmin::GetProtocol method

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

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

IFWXFilterAdmin

 

 

Build date: 7/12/2010