Share via


IsEqualTo method

Determines whether two display pointers specify the same position in the markup of an HTML document.

Syntax

HRESULT retVal = object.IsEqualTo(pDispPointer, pfIsEqual);

Parameters

  • pDispPointer [in]
    Type: IDisplayPointer

    pointer to an IDisplayPointer interface that specifies the display pointer to compare with this one.

  • pfIsEqual [out]
    Type: BOOL

    A pointer to a variable of type BOOL that receives TRUE if the display pointers are equal, or FALSE otherwise.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.