mgwin.h
/* Basic functions, intended for WinMain use */
int MGRegisterClass( HINSTANCE hInst, char* szClassName, WNDPROC WndProc, UINT MenuID, HICON hIcon );
int MGShowAndLoop( HWND hWnd, UINT nCmdShow );
/* Support functions */
UINT MGToggleMenuCheck( HWND Owner, UINT ID );
/* Font management functions */
int MGGetFontCount( HDC DC, char* Family );
void MGGetFontName( HDC DC, char* Family, char* Dest, int BufferSize, int Index );
HFONT MGCreateFont( int Height, BOOL Bold, BOOL Italic, BOOL Underline, BOOL StrikeOut, DWORD Family, char* FaceName );