Debugging Classes (Windows CE 5.0)
DirectShow provides many debugging functions and macros. It also includes the following classes that aid in debugging filter development:
The following diagram illustrates these classes.
CDispBasic converts the m_PString member to the proper string size.
CDisp provides a constructor that sets the CDispBasic class's m_PString member to a string describing some relevant debugging information about the object used as a parameter to the constructor.
For example, when constructed with an IPin pointer, m_PString returns the name of the pin; when constructed with a CLSID, m_PString returns a string representation of it.
The class also provides an LPCTSTR cast operator that returns the value of m_PString, so the class can be cast as an LPCTSTR value to return the string when constructed.
CGuidNameList implements an array of globally unique identifier (GUID) names in the Uuids.h include file. This enables you to retrieve the GUID name for a media type.
Send Feedback on this topic to the authors