IsLeftOf method

Determines whether the display pointer that this interface refers to is to the left of another one.


HRESULT retVal = object.IsLeftOf(pDispPointer, pfIsLeftOf);


  • pDispPointer [in]
    Type: [IDisplayPointer](aa752668(v=vs.85).md)

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

  • pfIsLeftOf [out]
    Type: BOOL

    A pointer to a variable of type BOOL that receives TRUE if the display pointer represented by this interface is to the left of pDispPointer, or FALSE otherwise.

Return value


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