Gdi::RemoveFontResourceW_I (Windows Embedded CE 6.0)
1/6/2010
This method removes the fonts in the specified file from the Windows Embedded CE font table.
Syntax
static WINGDIAPI BOOL WINAPI RemoveFontResourceW_I(
const WCHAR* lpFileName
);
Parameters
- lpFileName
[in] Long pointer to a null-terminated string that names a font resource file.
Return Value
Nonzero indicates success.
Zero indicates failure.
To get extended error information, call GetLastError.
Remarks
This method is an internal version of the RemoveFontResource function.
An application that adds or removes fonts from the system font table should notify other windows of the change by sending a WM_FONTCHANGE message to all top-level windows in the system. The application sends this message by calling the SendMessage function with the hwnd parameter set to HWND_BROADCAST.
If outstanding references to a font remain, the associated resource remains loaded until no device context is using the font.
Requirements
Header | gdi.hpp |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
Gdi
SendMessage
Gdi::AddFontResourceW_I