ReactOS 0.4.15-dev-5893-g1bb4167
|
#include "precomp.h"
#include <winnls.h>
#include <shellapi.h>
#include <windowsx.h>
#include <winreg.h>
#include "fontview.h"
#include "resource.h"
Go to the source code of this file.
Functions | |
BOOL WINAPI | GetFontResourceInfoW (LPCWSTR lpFileName, DWORD *pdwBufSize, void *lpBuffer, DWORD dwType) |
DWORD | FormatString (DWORD dwFlags, HINSTANCE hInstance, DWORD dwStringId, DWORD dwLanguageId, LPWSTR lpBuffer, DWORD nSize, va_list *Arguments) |
static void | ErrorMsgBox (HWND hParent, DWORD dwMessageId,...) |
int WINAPI | wWinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow) |
static LRESULT | MainWnd_OnCreate (HWND hwnd) |
static LRESULT | MainWnd_OnSize (HWND hwnd) |
static LRESULT | MainWnd_OnPaint (HWND hwnd) |
static LRESULT | MainWnd_OnInstall (HWND hwnd) |
static LRESULT | MainWnd_OnPrev (HWND hwnd) |
static LRESULT | MainWnd_OnNext (HWND hwnd) |
LRESULT CALLBACK | MainWndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
Variables | |
HINSTANCE | g_hInstance |
INT | g_FontIndex = 0 |
INT | g_NumFonts = 0 |
LOGFONTW | g_LogFonts [64] |
LPCWSTR | g_fileName = L"" |
WCHAR | g_FontTitle [1024] = L"" |
BOOL | g_FontPrint = FALSE |
BOOL | g_DisableInstall = FALSE |
static const WCHAR | g_szFontViewClassName [] = L"FontViewWClass" |
Definition at line 76 of file fontview.c.
Referenced by MainWnd_OnInstall(), and wWinMain().
DWORD FormatString | ( | DWORD | dwFlags, |
HINSTANCE | hInstance, | ||
DWORD | dwStringId, | ||
DWORD | dwLanguageId, | ||
LPWSTR | lpBuffer, | ||
DWORD | nSize, | ||
va_list * | Arguments | ||
) |
Definition at line 49 of file fontview.c.
Referenced by BmFatalErrorEx(), ErrorMsgBox(), EtfsOpen(), GetComCtl32Version(), GetExecutableVendor(), LoadXMLDocumentFromFile(), LoadXMLDocumentFromResource(), RequiredServicesDisablingDialogWndProc(), SafeFormatString(), ServicesPageWndProc(), and UserpFormatMessages().
BOOL WINAPI GetFontResourceInfoW | ( | LPCWSTR | lpFileName, |
DWORD * | pdwBufSize, | ||
void * | lpBuffer, | ||
DWORD | dwType | ||
) |
Referenced by CFontExt::DoGetFontTitle(), and wWinMain().
Definition at line 287 of file fontview.c.
Referenced by MainWndProc().
Definition at line 458 of file fontview.c.
Referenced by MainWndProc().
Definition at line 561 of file fontview.c.
Referenced by MainWndProc().
Definition at line 442 of file fontview.c.
Referenced by MainWndProc().
Definition at line 543 of file fontview.c.
Referenced by MainWndProc().
Definition at line 404 of file fontview.c.
Referenced by MainWndProc().
Definition at line 579 of file fontview.c.
Referenced by wWinMain().
int WINAPI wWinMain | ( | HINSTANCE | hInstance, |
HINSTANCE | hPrevInstance, | ||
LPWSTR | lpCmdLine, | ||
int | nShowCmd | ||
) |
This file has no copyright assigned and is placed in the Public Domain. This file is part of the w64 mingw-runtime package. No warranty is given; refer to the file DISCLAIMER.PD within this package.
Definition at line 97 of file fontview.c.
Definition at line 41 of file fontview.c.
Referenced by MainWnd_OnCreate(), and wWinMain().
LPCWSTR g_fileName = L"" |
Definition at line 38 of file fontview.c.
Referenced by MainWnd_OnInstall(), and wWinMain().
INT g_FontIndex = 0 |
Definition at line 35 of file fontview.c.
Referenced by MainWnd_OnCreate(), MainWnd_OnNext(), and MainWnd_OnPrev().
Definition at line 40 of file fontview.c.
Referenced by MainWnd_OnCreate(), and wWinMain().
WCHAR g_FontTitle[1024] = L"" |
Definition at line 39 of file fontview.c.
Referenced by wWinMain().
HINSTANCE g_hInstance |
Definition at line 34 of file fontview.c.
Referenced by MainWnd_OnCreate(), and wWinMain().
LOGFONTW g_LogFonts[64] |
Definition at line 37 of file fontview.c.
Referenced by MainWnd_OnCreate(), MainWnd_OnNext(), MainWnd_OnPrev(), and wWinMain().
INT g_NumFonts = 0 |
Definition at line 36 of file fontview.c.
Referenced by MainWnd_OnCreate(), MainWnd_OnNext(), and wWinMain().
Definition at line 43 of file fontview.c.
Referenced by wWinMain().