Leaked source code of windows server 2003
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.

88 lines
1.5 KiB

  1. #ifndef __APPVERIFIER_PRECOMP_H__
  2. #define __APPVERIFIER_PRECOMP_H__
  3. #include <nt.h>
  4. #include <ntrtl.h>
  5. #include <nturtl.h>
  6. #undef ASSERT
  7. #include "afxwin.h"
  8. #include <shellapi.h>
  9. #include <commdlg.h>
  10. #include <commctrl.h>
  11. #include <shlobj.h>
  12. #include <shlobjp.h> // needed for Link Window support
  13. #include <stdio.h>
  14. #include <stdlib.h>
  15. #include <string.h>
  16. #include <tchar.h>
  17. #pragma warning(disable:4786)
  18. #include <string>
  19. #include <xstring>
  20. #include <algorithm>
  21. #include <vector>
  22. using namespace std;
  23. #include "ids.h"
  24. extern "C" {
  25. #include "shimdb.h"
  26. }
  27. #include "avrfutil.h"
  28. #include "avutil.h"
  29. #include "dbsupport.h"
  30. #include "strsafe.h"
  31. VOID
  32. DebugPrintf(
  33. LPCSTR pszFmt,
  34. ...
  35. );
  36. #if DBG
  37. #define DPF DebugPrintf
  38. #else
  39. #define DPF if (0) DebugPrintf
  40. #endif
  41. ///////////////////////////////////////////////////////////////////////////
  42. //
  43. // ARRAY_LENGTH macro
  44. //
  45. #ifndef ARRAY_LENGTH
  46. #define ARRAY_LENGTH( array ) ( sizeof( array ) / sizeof( array[ 0 ] ) )
  47. #endif //#ifndef ARRAY_LENGTH
  48. //
  49. // Application name ("Application Verifier Manager")
  50. //
  51. extern wstring g_strAppName;
  52. extern HINSTANCE g_hInstance;
  53. extern BOOL g_bConsoleMode;
  54. extern BOOL g_bWin2KMode;
  55. extern WCHAR g_szDebugger[];
  56. extern BOOL g_bBreakOnLog;
  57. extern BOOL g_bPropagateTests;
  58. extern BOOL g_bInternalMode;
  59. #endif // __APPVERIFIER_PRECOMP_H__