NOTE through NOTE5 Macros

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



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


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);


DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.