RemoveFontMemResourceEx function (wingdi.h)
The RemoveFontMemResourceEx function removes the fonts added from a memory image file.
BOOL RemoveFontMemResourceEx( [in] HANDLE h );
A handle to the font-resource. This handle is returned by the AddFontMemResourceEx function.
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. No extended error information is available.
This function removes a font that was added by the AddFontMemResourceEx function. To remove the font, specify the same path and flags as were used in AddFontMemResourceEx. This function will only remove the font that is specified by fh.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||wingdi.h (include Windows.h)|