mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
993 B
44 lines
993 B
#ifndef __PRECOMPILED_HEADER_H
|
|
#define __PRECOMPILED_HEADER_H
|
|
|
|
#ifndef _WIN32_WINNT
|
|
#define _WIN32_WINNT 0x0500
|
|
#endif
|
|
|
|
#include <windows.h>
|
|
#include <windowsx.h>
|
|
|
|
#include <winuserp.h>
|
|
#include <commctrl.h>
|
|
#include <shlwapi.h>
|
|
|
|
#include <regstr.h>
|
|
#include <crtdbg.h>
|
|
#include <tchar.h>
|
|
#include <stdio.h>
|
|
|
|
#define ARRAYSIZE(a) (sizeof(a) / sizeof((a)[0]))
|
|
|
|
extern HINSTANCE g_hInstDll;
|
|
|
|
#ifdef _DEBUG
|
|
#define VERIFY(xxx) _ASSERT(xxx)
|
|
#else
|
|
#define VERIFY(xxx) xxx
|
|
#endif
|
|
|
|
// This is the maxinum number of options allowed on any one preview page
|
|
#define MAX_DISTINCT_VALUES 30
|
|
|
|
// Helper function is defined in AccWiz.cpp
|
|
void LoadArrayFromStringTable(int nIdString, int *rgnValues, int *pnCountValues);
|
|
|
|
// This function is defined in AccWiz.cpp
|
|
int StringTableMessageBox(HWND hWnd, int nText, int nCaption, UINT uType);
|
|
|
|
// Functions from PCH.CPP
|
|
void GetNonClientMetrics(NONCLIENTMETRICS *pncm, LOGFONT *plfIcon);
|
|
BOOL IsCurrentFaceNamesDifferent();
|
|
|
|
|
|
#endif // __PRECOMPILED_HEADER_H
|