Notifies the font object that the previously realized font identified with hFont (obtained from IFont::get_hFont) should remain valid until IFont::ReleaseHfont is called or the font object itself is released completely.
HRESULT AddRefHfont(
HFONT hfont |
//Font handle returned from IFont::GetHfont |
); |
Parameters
Return Values
The method supports the standard return values E_UNEXPECTED and E_INVALIDARG, as well as the following:
See Also
IFont::get hFont, IFont:ReleaseHfont