This topic has not yet been rated - Rate this topic

RemoveFontMemResourceEx function

Applies to: desktop apps only

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

Minimum supported server

Windows 2000 Server

Header

Wingdi.h (include Windows.h)

Library

Gdi32.lib

DLL

Gdi32.dll

See also

Fonts and Text Overview
Font and Text Functions
AddFontMemResourceEx
SendMessage

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ