Index Topic Contents | |||
Previous Topic: Breakpoint Macros and Function Next Topic: Debug NOTE (Message) Macros |
Debug Output
The debug output facility is just one of several facilities of debug logging available with Microsoft® DirectShow. This facility is monolithic (that is, it is either on or off). For information about the facility with the most precise control enabling and disabling logging, see Debug Logging by Module Level. For information about the simplest facility, see Debug NOTE (Message) Macros.
For more information about how DbgOutString chooses the debug output location, see Debug Output Location. DbgInitialise opens the debug output location and DbgTerminate closes it.
Name Description DbgOutString Sends a debug string to the debug output location. DumpGraph Sends debugging information from the filter graph to the debug output location. Debug Output
DbgOutStringOutputs the given string to the debug output location.
void WINAPI DbgOutString(
LPCTSTR psz
);Parameters
- psz
- Pointer to a string to be output.
Remarks
DbgOutString is ignored unless DEBUG is defined when the Microsoft DirectShow headers are included. That is, it is a function in a debug build, and a macro that does nothing in other builds.
Debug Output
DumpGraphSends debugging information from the filter graph to the debug output location.
void WINAPI (
IFilterGraph *pGraph,
DWORD dwLevel
)Parameters
- pGraph
- Pointer to the filter graph to get debugging information about.
- dwLevel
- Logging level for this message, where zero means always log.
Remarks
Call this helper function to send potential error messages after you instantiate a filter graph.
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.