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.

59 lines
1.6 KiB

  1. /*----------------------------------------------------------------------------*\
  2. | MODULE: GLOBALS.C
  3. |
  4. | Global variables for wpnpinst program.
  5. |
  6. | Copyright (C) 1997 Microsoft
  7. | Copyright (C) 1997 Hewlett Packard
  8. |
  9. | history:
  10. | 26-Aug-1997 <rbkunz> Created
  11. |
  12. \*----------------------------------------------------------------------------*/
  13. #include "pch.h"
  14. HINSTANCE g_hInstance;
  15. // Misc Character constants
  16. //
  17. CONST TCHAR g_chBackslash = TEXT('\\');
  18. CONST TCHAR g_chDot = TEXT('.');
  19. CONST TCHAR g_chDoubleQuote = TEXT('\"');
  20. //
  21. //
  22. CONST TCHAR g_szDotEXE[] = TEXT(".EXE");
  23. CONST TCHAR g_szDotDLL[] = TEXT(".DLL");
  24. CONST TCHAR g_szFNFmt [] = TEXT("%1\\%2");
  25. CONST TCHAR g_szTNFmt [] = TEXT("~WP");
  26. // Wide Char parm string to pass to PrintUIEntryW
  27. //
  28. CONST WCHAR g_wszParmString[] = L"@cab_ipp.dat";
  29. // Module and entry point constants
  30. //
  31. CONST TCHAR g_szPrintUIMod [] = TEXT("PRINTUI.DLL");
  32. CONST CHAR g_szPrintUIEntryW[] = "PrintUIEntryW";
  33. // Localizable Error Strings
  34. //
  35. LPTSTR g_szErrorFormat = NULL;
  36. LPTSTR g_szError = NULL;
  37. LPTSTR g_szEGeneric = NULL;
  38. LPTSTR g_szEBadCAB = NULL;
  39. LPTSTR g_szEInvalidParameter = NULL;
  40. LPTSTR g_szENoMemory = NULL;
  41. LPTSTR g_szEInvalidCABName = NULL;
  42. LPTSTR g_szENoDATFile = NULL;
  43. LPTSTR g_szECABExtract = NULL;
  44. LPTSTR g_szENoPrintUI = NULL;
  45. LPTSTR g_szENoPrintUIEntry = NULL;
  46. LPTSTR g_szEPrintUIEntryFail = NULL;
  47. LPTSTR g_szENotSupported = NULL;
  48. FAKEFILE g_FileTable[FILETABLESIZE];