Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
3/26/2014
Generates a debug-only string.
Syntax
NAME(
strLiteral
);
Parameters
- strLiteral
Text string, which must be in quotation marks.
Remarks
This macro is helpful for generating the debug name passed to many DirectShow class constructors. For more information about using that aspect of debugging, see Object Register Debugging.
For example:
x = new CVideoRenderer(NAME("Sample Video Renderer"),pUnk,phr);
The NAME macro generates NULL unless DEBUG is defined when the DirectShow headers are included.
Requirements
Header |
dshow.h |
Library |
Strmiids.lib |