IUIEventingManager::SetEventLogger method (uiribbon.h)

Sets the event logger for ribbon events.

Syntax

HRESULT SetEventLogger(
  IUIEventLogger *eventLogger
);

Parameters

eventLogger

The event logger.

If NULL, disables event logging.

Return value

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

Remarks

Call IUIFramework::Initialize and IUIFramework::LoadUI before calling this method.

Requirements

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header uiribbon.h
DLL Uiribbon.dll

See also

IUIEventLogger

IUIEventingManager