Share via


NOTE through NOTE5 Macros (Compact 2013)

3/26/2014

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

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

Debug NOTE (Message) Macros