Compartilhar via


NAME (Windows CE 5.0)

Send Feedback

Generates a debug-only string.

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

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

Pocket PC: Windows Mobile 5.0 and later
Smartphone: Windows Mobile 5.0 and later
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

See Also

Miscellaneous Macros

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.