Share via


CeLogMsg (Windows Embedded CE 6.0)

1/6/2010

This function allows users to print a formatted Unicode string to the CeLogData function.

Syntax

void CeLogMsg(
  WCHAR* format [, argument]
);

Parameters

  • format
    [in] String to print to the CeLogData function.
  • argument
    [in] Optional arguments.

Return Value

None.

Remarks

Since an attacker could load celog.dll onto a retail device and start getting data, do not log secret information to CeLog.

CeLogMsg always logs an event of type CELID_RAW_WCHAR to the CELZONE_ALWAYSON zone.

For more information, see CeLog Event Identifiers and CeLog Zones.

You can use the RETAILCELOGMSG and DEBUGCELOGMSG macros to conditionally output messages. These macros work like the RETAILMSG and DEBUGMSG macros except that the XXXCELOGMSG macros write the data to the CeLogMsg function rather than to the debug output. For more information, see CeLog Event Tracking Macros.

Requirements

Header celog.h
Library coredll.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

CeLog Event Tracking Functions
CeLogData