RemoveFontResourceEx function
Applies to: desktop apps only
The RemoveFontResourceEx function removes the fonts in the specified file from the system font table.
Syntax
BOOL RemoveFontResourceEx( __in LPCTSTR lpFileName, __in DWORD fl, __in PVOID pdv );
Parameters
- lpFileName [in]
-
A pointer to a null-terminated string that names a font resource file.
- fl [in]
-
The characteristics of the font to be removed from the system. In order for the font to be removed, the flags used must be the same as when the font was added with the AddFontResourceEx function. See the AddFontResourceEx function for more information.
- pdv [in]
-
Reserved. Must be zero.
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 will only remove the font if the flags specified are the same as when then font was added with the AddFontResourceEx function.
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names | RemoveFontResourceExW (Unicode) and RemoveFontResourceExA (ANSI) |
See also
Send comments about this topic to Microsoft
Build date: 3/7/2012