CoRegisterChannelHook function (objbase.h)

Registers a channel hook.

Syntax

HRESULT CoRegisterChannelHook(
  [in] REFGUID      ExtensionUuid,
  [in] IChannelHook *pChannelHook
);

Parameters

[in] ExtensionUuid

The extension to register.

[in] pChannelHook

The channel hook to register.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header objbase.h
Library Ole32.lib
DLL Combase.dll