Retrieves a pointer to the parent document of the dialog box.
Syntax
HRESULT get_document( IHTMLDocument2 **p );
Parameters
- p
- Address of a pointer to the dialog box's parent IHTMLDocument2 interface.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0