Microsoft Internet Security and Acceleration Server 2004 SDK

IFWXFilterAdmin::RegisterProtocol

The RegisterProtocol method registers a protocol. A registered protocol will appear in ISA Server Management.

HRESULT RegisterProtocol(
  REFGUID guidProtocol,
  LPCSTR szProtocolName,
  LPCSTR szDescription,
  long ProtocolCategory,
  LPCSTR Reserved
);

Parameters

guidProtocol
[in] GUID that will be used for uniquely identifying the protocol.
szProtocolName
[in] Pointer to the name of the protocol as it is to appear in ISA Server Management.
szDescription
[in] Pointer to the description text for the protocol.
ProtocolCategory
[in] A 32-bit integer that specifies the category of the protocol. This can be a bitwise combination of values from the FpcProtocolCategory enumerated type.
Reserved
Reserved for future use. The Reserved parameter passes a null string.

Return Values

S_OK
The protocol was registered successfully.
HRESULT_FROM_WIN32(ERROR_ALREADY_EXISTS)
The protocol is already defined.
Error code
The protocol registration failed.

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