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.

67 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. globals.c
  5. Abstract:
  6. global variables declaretion
  7. Author:
  8. Xiaofeng Zang (xiaoz) 17-Sep-2001 Created
  9. Revision History:
  10. <alias> <date> <comments>
  11. --*/
  12. #include "StdAfx.h"
  13. #include "clmt.h"
  14. //Globla instance used mainly to load resource(eg LoadString...)
  15. HANDLE g_hInstance = NULL;
  16. //Flag specifies whether we are running in win2k, or after running after OS upgarded
  17. BOOL g_bBeforeMig;
  18. //Flag specifies whether we are in normal run mode or undo mode
  19. DWORD g_dwRunningStatus;
  20. //global string search -replacement table
  21. REG_STRING_REPLACE g_StrReplaceTable;
  22. //current equals g_hInstance, for future use when we convert to DLL
  23. HANDLE g_hInstDll;
  24. //global flag to bypass running Winnt32.exe with Checkupgrade option
  25. BOOL g_fRunWinnt32 = TRUE;
  26. //global flag to bypass app check option
  27. BOOL g_fNoAppChk = FALSE;
  28. //global variable for log report
  29. LOG_REPORT g_LogReport;
  30. TCHAR g_szToDoINFFileName[MAX_PATH];
  31. TCHAR g_szUoDoINFFileName[MAX_PATH];
  32. DWORD g_dwKeyIndex=0;
  33. // Undocumented flag to bypass internal INF, and use user-supply INF file
  34. BOOL g_fUseInf = FALSE;
  35. TCHAR g_szInfFile[MAX_PATH];
  36. HINF g_hInf = INVALID_HANDLE_VALUE;
  37. HANDLE g_hMutex = NULL;
  38. HINF g_hInfDoItem;
  39. // Handle to the Change log file
  40. TCHAR g_szChangeLog[MAX_PATH];
  41. DWORD g_dwIndex;
  42. // Denied ACE List
  43. LPDENIED_ACE_LIST g_DeniedACEList = NULL;