Notifies the font object that the caller that previously locked this font in the cache with IFont::AddRefHfont no longer requires the lock.
HRESULT ReleaseHfont(
HFONT hfont //Font handle returned from IFont::GetHfont
);
The method supports the standard return values E_UNEXPECTED and E_INVALIDARG, as well as the following:
Windows NT: Use version 4.0 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in ocidl.h.