MSHTML Classes: CDoc

The CDoc class is the shared internal representation of the HTADoc, HTMLDocument, HTMLPluginDocument, HTMLPopupDoc and MHTMLDocument classes.


The CDoc class implements some interfaces directly:

some more by aggregating CDocument:

some more by aggregating CMarkup:

There are also some significant special cases. If a CDoc instance is queried for any non-dual dispatch interface whose DIID has the form {3050F5xx-98B5-11CF-BB82-00AA00BDCE0B} where xx ranges from 00 up to but not including A0, the effect is equivalent to querying for IHTMLDocument2. Also, a CDoc instance accepts CLSID_HTMLDocument and CLSID_CMarkup as interface IDs.