IFont::IsEqual

Compares this font object to another for equivalence.

HRESULT IsEqual(
  IFont* pFontOther  //Pointer to the font to compare to this font
);
 

Parameters

pFontOther
[in] Pointer to the IFont interface on the font object to be compared to this font. The reference count of the object referred to by this pointer is not affected by the comparison operation.

Return Values

The method supports the standard return value E_UNEXPECTED, as well as the following:

S_OK
The two fonts are equivalent.
S_FALSE
The two fonts are not equivalent.
E_POINTER
The address in pFontOther is not valid. For example, it may be NULL.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in ocidl.h.