IFont::IsEqual method

Compares this font object to another for equivalence.

Syntax


HRESULT IsEqual(
  [in] IFont *pFontOther
);

Parameters

pFontOther [in]

A 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 value

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

Return codeDescription
S_OK

The two fonts are equivalent.

S_FALSE

The two fonts are not equivalent.

E_POINTER

The address in the pFontOther parameter is not valid. For example, it may be NULL.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OCIdl.h

IDL

OCIdl.idl

IID

IID_IFont is defined as BEF6E002-A874-101A-8BBA-00AA00300CAB

See also

IFont

 

 

Show: