ReactOS 0.4.16-dev-835-gd769f56
|
#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 | FormatMsgBox (_In_ HWND hParent, _In_ DWORD dwMessageId, _In_ DWORD dwCaptionId, _In_ UINT uType, _In_ va_list args) |
static void | ErrorMsgBox (HWND hParent, DWORD dwMessageId,...) |
static void | SuccessMsgBox (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 82 of file fontview.c.
Referenced by MainWnd_OnInstall(), and wWinMain().
|
static |
Definition at line 61 of file fontview.c.
Referenced by ErrorMsgBox(), and SuccessMsgBox().
DWORD FormatString | ( | DWORD | dwFlags, |
HINSTANCE | hInstance, | ||
DWORD | dwStringId, | ||
DWORD | dwLanguageId, | ||
LPWSTR | lpBuffer, | ||
DWORD | nSize, | ||
va_list * | Arguments | ||
) |
Definition at line 34 of file fontview.c.
Referenced by BmFatalErrorEx(), EtfsOpen(), FormatMsgBox(), 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 298 of file fontview.c.
Referenced by MainWndProc().
Definition at line 469 of file fontview.c.
Referenced by MainWndProc().
Definition at line 567 of file fontview.c.
Referenced by MainWndProc().
Definition at line 453 of file fontview.c.
Referenced by MainWndProc().
Definition at line 549 of file fontview.c.
Referenced by MainWndProc().
Definition at line 415 of file fontview.c.
Referenced by MainWndProc().
Definition at line 585 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 108 of file fontview.c.
Definition at line 26 of file fontview.c.
Referenced by MainWnd_OnCreate(), and wWinMain().
LPCWSTR g_fileName = L"" |
Definition at line 23 of file fontview.c.
Referenced by MainWnd_OnInstall(), and wWinMain().
INT g_FontIndex = 0 |
Definition at line 20 of file fontview.c.
Referenced by MainWnd_OnCreate(), MainWnd_OnNext(), and MainWnd_OnPrev().
Definition at line 25 of file fontview.c.
Referenced by MainWnd_OnCreate(), and wWinMain().
WCHAR g_FontTitle[1024] = L"" |
Definition at line 24 of file fontview.c.
Referenced by wWinMain().
HINSTANCE g_hInstance |
Definition at line 19 of file fontview.c.
Referenced by MainWnd_OnCreate(), and wWinMain().
LOGFONTW g_LogFonts[64] |
Definition at line 22 of file fontview.c.
Referenced by MainWnd_OnCreate(), MainWnd_OnNext(), MainWnd_OnPrev(), and wWinMain().
INT g_NumFonts = 0 |
Definition at line 21 of file fontview.c.
Referenced by MainWnd_OnCreate(), MainWnd_OnNext(), and wWinMain().
Definition at line 28 of file fontview.c.
Referenced by wWinMain().