CoRegisterChannelHook function

Registers a channel hook.

Syntax

HRESULT CoRegisterChannelHook(
  REFGUID      ExtensionUuid,
  IChannelHook *pChannelHook
);

Parameters

ExtensionUuid

The extension to register.

pChannelHook

The channel hook to register.

Return Value

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

Requirements

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