IDeveloperConsoleMessageReceiver::Write method

Used to log a message from Windows Internet Explorer.

 

Syntax

HRESULT Write(
  [in] LPCWSTR                   source,
  [in] DEV_CONSOLE_MESSAGE_LEVEL level,
  [in] int                       messageId,
  [in] LPCWSTR                   messageText
);

Parameters

  • source [in]
    A friendly name for the component in Internet Explorer that logs the message.

  • level [in]
    The level of the message, for example Information, Warning or Error. Must be a value from the DEV_CONSOLE_MESSAGE_LEVEL enum.

  • messageId [in]
    The ID for the message. The messageId is unique for each source.

  • messageText [in]
    The text of the message to be displayed to the user. The text is localized to the Internet Explorer language and might contain RLE and PDF markers in some cases.

Return value

The return value is ignored.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Mshtml.h

IDL

Mshtml.idl

See also

IDeveloperConsoleMessageReceiver