次の方法で共有


OALLogPrintf (Compact 2013)

10/16/2014

This function formats the string to a buffer.

Syntax

void OALLogPrintf(
  LPWSTR buffer,
  UINT32 maxChars,
  LPCWSTR format,
  ...
);

Parameters

  • buffer
    [in, out] On input, a string representing the size of the buffer, in bytes. On output, it contains the formatted string.
  • maxChars
    [in] Maximum number of characters that can be written to the buffer.
  • format
    [in] String that contains the format-control specifications. In addition to ordinary ASCII characters, a format specification for each argument appears in this string. For more information about the format specification, see the wsprintf function.
  • ...
    [in] These parameters are developer-defined.

Return Value

None.

Remarks

OALLogPrintf uses the standard format string used by the wsprintf function, which is identical to the printf format without floating-point support. OALLogPrintf uses the kernel implementation of the function.

For the boot loader, this function is implemented in the support library.

Requirements

Header

oal_log.h

Library

Developer Implemented

See Also

Reference

Logging Functions