IBrowser3::get_document

The document read-only property gets the Windows CE Automation object of the active document.

Syntax

HRESULT get_document(
  IDispatch ** ppDisp
);

Parameters

  • ppDisp
    [out] Reference to the Windows CE Automation object for the active document.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    The method completed successfully.

Remarks

When the active document is an HTML page, this property provides access to the contents of the HTML Document Object Model (DOM). When other document types are active, this property returns the default IDispatch interface pointer for the hosted document object.

Requirements

Pocket PC: Windows Mobile 2002 and later
OS Versions: Windows CE 4.0 and later
Header: webvw.h
Library: webvw.lib

See Also

IBrowser3

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.