PFSCE_LOG_INFO callback function (scesvc.h)

The PFSCE_LOG_INFO callback function logs messages to the configuration log file or analysis log file.

Syntax

PFSCE_LOG_INFO PfsceLogInfo;

SCESTATUS PfsceLogInfo(
  [in] INT ErrLevel,
  [in] DWORD Win32rc,
  [in] LPTSTR pErrFmt,
       ... unnamedParam4
)
{...}

Parameters

[in] ErrLevel

Specifies the level of information to log. This parameter can be one of the following values.

Value Meaning
SCE_LOG_LEVEL_ALWAYS
Records all actions in the log file.
SCE_LOG_LEVEL_ERROR
Records errors in the log file.
SCE_LOG_LEVEL_DETAIL
Records detailed information in the log file.
SCE_LOG_LEVEL_DEBUG
Records debug information in the log file.

[in] Win32rc

Specifies the Windows result code to log.

[in] pErrFmt

Specifies the result format. This parameter uses the same format conventions as the C library function printf.

unnamedParam4

Return value

If the function succeeds, it returns SCESTATUS_SUCCESS; otherwise, an error code is returned.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header scesvc.h