COM
Expand Minimize

CoRegisterChannelHook function

Registers a channel hook.

Syntax


HRESULT WINOLEAPI CoRegisterChannelHook(
  _In_  REFGUID ExtensionUuid,
  _In_  IChannelHook *pChannelHook
);

Parameters

ExtensionUuid [in]

The extension to register.

pChannelHook [in]

The channel hook to register.

Return value

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

Requirements

Header

Objbase.h

Library

Ole32.lib

DLL

Combase.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft