共用方式為


CDHtmlDialog::GetDHtmlDocument

Retrieves the IHTMLDocument2 interface on the currently loaded HTML document.

HRESULT GetDHtmlDocument(
   IHTMLDocument2 **pphtmlDoc 
);

Parameters

  • **pphtmlDoc
    A pointer to a pointer to an HTML document.

Return Value

A standard HRESULT. Returns S_OK if successful.

Requirements

Header: afxdhtml.h

See Also

Concepts

CDHtmlDialog Class

CDHtmlDialog Members

Hierarchy Chart

IHTMLDocument2