ReactOS  0.4.12-dev-14-gd0c8636
MSHTML::IHTMLSelection Interface Reference

import"mshtml.idl";

Inheritance diagram for MSHTML::IHTMLSelection:
Collaboration diagram for MSHTML::IHTMLSelection:

Public Member Functions

HRESULT collapse ([in] IDispatch *parentNode, [in] long offfset)
 
HRESULT collapseToStart ()
 
HRESULT collapseToEnd ()
 
HRESULT selectAllChildren ([in] IDispatch *parentNode)
 
HRESULT deleteFromDocument ()
 
HRESULT getRangeAt ([in] long index, [out, retval] IHTMLDOMRange **ppRange)
 
HRESULT addRange ([in] IDispatch *range)
 
HRESULT removeRange ([in] IDispatch *range)
 
HRESULT removeAllRanges ()
 
HRESULT toString ([out, retval] BSTR *pSelectionString)
 
- Public Member Functions inherited from IDispatch
HRESULT GetTypeInfoCount ([out] UINT *pctinfo)
 
HRESULT GetTypeInfo ([in] UINT iTInfo, [in] LCID lcid, [out] ITypeInfo **ppTInfo)
 
HRESULT GetIDsOfNames ([in] REFIID riid, [in, size_is(cNames)] LPOLESTR *rgszNames, [in] UINT cNames, [in] LCID lcid, [out, size_is(cNames)] DISPID *rgDispId)
 
HRESULT Invoke ([in] DISPID dispIdMember, [in] REFIID riid, [in] LCID lcid, [in] WORD wFlags, [in, out] DISPPARAMS *pDispParams, [out] VARIANT *pVarResult, [out] EXCEPINFO *pExcepInfo, [out] UINT *puArgErr)
 
HRESULT RemoteInvoke ([in] DISPID dispIdMember, [in] REFIID riid, [in] LCID lcid, [in] DWORD dwFlags, [in] DISPPARAMS *pDispParams, [out] VARIANT *pVarResult, [out] EXCEPINFO *pExcepInfo, [out] UINT *pArgErr, [in] UINT cVarRef, [in, size_is(cVarRef)] UINT *rgVarRefIdx, [in, out, size_is(cVarRef)] VARIANTARG *rgVarRef)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Properties

IHTMLDOMNode anchorNode [get]
 
long anchorOffset [get]
 
IHTMLDOMNode focusNode [get]
 
long focusOffset [get]
 
VARIANT_BOOL isCollapsed [get]
 
long rangeCount [get]
 

Additional Inherited Members

- Public Types inherited from IDispatch
typedef IDispatchLPDISPATCH
 
- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 
- Public Attributes inherited from IDispatch
const DISPID DISPID_UNKNOWN = -1
 
const DISPID DISPID_VALUE = 0
 
const DISPID DISPID_PROPERTYPUT = -3
 
const DISPID DISPID_NEWENUM = -4
 
const DISPID DISPID_EVALUATE = -5
 
const DISPID DISPID_CONSTRUCTOR = -6
 
const DISPID DISPID_DESTRUCTOR = -7
 
const DISPID DISPID_COLLECT = -8
 

Detailed Description

Definition at line 9755 of file mshtml.idl.

Member Function Documentation

◆ addRange()

HRESULT MSHTML::IHTMLSelection::addRange ( [in] IDispatch range)

◆ collapse()

HRESULT MSHTML::IHTMLSelection::collapse ( [in] IDispatch parentNode,
[in] long  offfset 
)

◆ collapseToEnd()

HRESULT MSHTML::IHTMLSelection::collapseToEnd ( )

◆ collapseToStart()

HRESULT MSHTML::IHTMLSelection::collapseToStart ( )

◆ deleteFromDocument()

HRESULT MSHTML::IHTMLSelection::deleteFromDocument ( )

◆ getRangeAt()

HRESULT MSHTML::IHTMLSelection::getRangeAt ( [in] long  index,
[out, retval] IHTMLDOMRange **  ppRange 
)

◆ removeAllRanges()

HRESULT MSHTML::IHTMLSelection::removeAllRanges ( )

◆ removeRange()

HRESULT MSHTML::IHTMLSelection::removeRange ( [in] IDispatch range)

◆ selectAllChildren()

HRESULT MSHTML::IHTMLSelection::selectAllChildren ( [in] IDispatch parentNode)

◆ toString()

HRESULT MSHTML::IHTMLSelection::toString ( [out, retval] BSTR pSelectionString)

Property Documentation

◆ anchorNode

IHTMLDOMNode MSHTML::IHTMLSelection::anchorNode
get

◆ anchorOffset

long MSHTML::IHTMLSelection::anchorOffset
get

◆ focusNode

IHTMLDOMNode MSHTML::IHTMLSelection::focusNode
get

◆ focusOffset

long MSHTML::IHTMLSelection::focusOffset
get

◆ isCollapsed

VARIANT_BOOL MSHTML::IHTMLSelection::isCollapsed
get

◆ rangeCount

long MSHTML::IHTMLSelection::rangeCount
get

The documentation for this interface was generated from the following file: