Skip to main content
IUIEventingManager::SetEventLogger method

Sets the event logger for ribbon events.

Syntax


HRESULT SetEventLogger(
  [in]  IUIEventLogger *eventLogger
);

Parameters

eventLogger [in]

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]

Header

Uiribbon.h

IDL

Uiribbon.idl

DLL

Uiribbon.dll

IID

IID_IUIEventingManager is defined as 3BE6EA7F-9A9B-4198-9368-9B0F923BD534

See also

IUIEventingManager
IUIEventLogger