Partager via


NOTE through NOTE5 Macros

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

These macros will format and print their parameters on the debugger.

Syntax

NOTE(pFormat);
NOTEx(pFormat,[a-e]
);

Parameters

  • pFormat
    A printf -style format string, which must be in quotation marks.
  • athrough e
    Optional parameters, each of which must have a respective format string portion (such as "%d").

Remarks

These macros are ignored unless DEBUG is defined when the DirectShow headers are included.

The following example shows the syntax for the NOTE1 through NOTE5 macros.

NOTE1(pFormat, a);
NOTE2(pFormat, a, b);
NOTE3(pFormat, a, b, c);
NOTE4(pFormat, a, b, c, d);
NOTE5(pFormat, a, b, c, d, e);

Requirements

Windows Embedded CE Windows CE 2.12 and later
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later

See Also

Reference

Debug NOTE (Message) Macros