Source code of Windows XP (NT5)
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

  1. #ifndef __PRECOMPILED_HEADER_H
  2. #define __PRECOMPILED_HEADER_H
  3. #ifndef _WIN32_WINNT
  4. #define _WIN32_WINNT 0x0500
  5. #endif
  6. #include <windows.h>
  7. #include <windowsx.h>
  8. #include <winuserp.h>
  9. #include <commctrl.h>
  10. #include <shlwapi.h>
  11. #include <regstr.h>
  12. #include <crtdbg.h>
  13. #include <tchar.h>
  14. #include <stdio.h>
  15. #define ARRAYSIZE(a) (sizeof(a) / sizeof((a)[0]))
  16. extern HINSTANCE g_hInstDll;
  17. #ifdef _DEBUG
  18. #define VERIFY(xxx) _ASSERT(xxx)
  19. #else
  20. #define VERIFY(xxx) xxx
  21. #endif
  22. // This is the maxinum number of options allowed on any one preview page
  23. #define MAX_DISTINCT_VALUES 30
  24. // Helper function is defined in AccWiz.cpp
  25. void LoadArrayFromStringTable(int nIdString, int *rgnValues, int *pnCountValues);
  26. // This function is defined in AccWiz.cpp
  27. int StringTableMessageBox(HWND hWnd, int nText, int nCaption, UINT uType);
  28. // Functions from PCH.CPP
  29. void GetNonClientMetrics(NONCLIENTMETRICS *pncm, LOGFONT *plfIcon);
  30. BOOL IsCurrentFaceNamesDifferent();
  31. #endif // __PRECOMPILED_HEADER_H