Compartilhar via


NOTE

 
Microsoft DirectShow 9.0

NOTE

The NOTE macro sends a string to the debug output location. Ignored in retail builds.

Syntax

  NOTE(
    pFormat
);

NOTEn(
    pFormat,
    arg1 ... arg5
);

Parameters

pFormat

A printf-style format string.

arg1arg5

Additional arguments for the format string. The number of arguments must match the macro name. For example, NOTE1 takes one argument, and NOTE5 takes five arguments.

Remarks

These macros are variants of the DbgLog macro. They generate level 5 LOG_TRACE messages.

Example

NOTE("Warning, failed to created graph.");
NOTE2("Width: %d, Height: %d", width, height);

Requirements

**  Header:** Declared in Wxdebug.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also