Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - addfontresource() adds a new font to the windows font table http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 AddFontResource()      Adds a new font to the Windows font table
--------------------------------------------------------------------------------

   Syntax:              AddFontResource( <cFontFile> | <hFontResource> )  -->
                                                 <nFontsAdded>

   This function add a font resource to the Windows font table. Any
   application can then use the font.


   Parameters:

   <cFontFile>          The name of an external file where we have stored
                        some fonts we want to use in our application.

   <hFontResource>      The handle of a module (DLL) where we have stored
                        some fonts we want to use in our application.

   Returns:

   <nFontsAdded>        The number of fonts the system successfully added.


   Sample:              AddFontResource( "MyApp.dll" )

   Source code:     SOURCE\\WINAPI\\FontCrea.c


See Also: TFont

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson