Export (0) Print
Expand All

RemoveFontMemResourceEx function

The RemoveFontMemResourceEx function removes the fonts added from a memory image file.

Syntax


BOOL RemoveFontMemResourceEx(
  _In_  HANDLE fh
);

Parameters

fh [in]

A handle to the font-resource. This handle is returned by the AddFontMemResourceEx function.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. No extended error information is available.

Remarks

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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wingdi.h (include Windows.h)

Library

Gdi32.lib

DLL

Gdi32.dll

See also

Fonts and Text Overview
Font and Text Functions
AddFontMemResourceEx
SendMessage

 

 

Community Additions

ADD
Show:
© 2014 Microsoft