![]() |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
DirectShow provides many debugging functions and macros. It also includes three classes that aid in debugging filter development:
The following diagram illustrates these classes.
CDispBasicconverts the m_PStringdata member to the proper string size.
CDispprovides a constructor that sets the CDispBasicclass's m_PStringdata 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 IPinpointer, m_PStringreturns the name of the pin; when constructed with a CLSID, m_PStringreturns a string representation of it, and so on. The class also provides an LPCTSTRcast operator that returns the value of m_PString, so the class can simply be cast as an LPCTSTRvalue to return the string when constructed.
CGuidNameListimplements an array of globally unique identifier (GUID) names in the Uuids.h include file. This enables you to retrieve the GUIDname for a media type, for example.
Last updated on Tuesday, May 18, 2004