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.

60 lines
1.0 KiB

  1. /*++
  2. Microsoft Confidential
  3. Copyright (c) 1992-1999 Microsoft Corporation
  4. All rights reserved
  5. Module Name:
  6. edtenvar.h
  7. Abstract:
  8. Public declarations for the Edit Environment Variables dialog of the
  9. System Control Panel Applet
  10. Author:
  11. Scott Hallock (scotthal) 11-Nov-1997
  12. Revision History:
  13. --*/
  14. #pragma once
  15. //
  16. // Preprocessor definitions
  17. //
  18. #define SYSTEM_VAR 1
  19. #define USER_VAR 2
  20. #define INVALID_VAR_TYPE 0xeeee
  21. #define EDIT_VAR 1
  22. #define NEW_VAR 2
  23. #define INVALID_EDIT_TYPE 0xeeee
  24. #define EDIT_NO_CHANGE 0
  25. #define EDIT_CHANGE 1
  26. #define EDIT_ERROR (-1)
  27. #define EDIT_ENVVAR_CAPTION_LENGTH 128
  28. //
  29. // Global variables
  30. //
  31. #define BUFZ 4096
  32. extern UINT g_VarType;
  33. extern UINT g_EditType;
  34. extern TCHAR g_szVarName[BUFZ];
  35. extern TCHAR g_szVarValue[BUFZ];
  36. //
  37. // Function prototypes
  38. //
  39. INT_PTR APIENTRY EnvVarsEditDlg(
  40. IN HWND hDlg,
  41. IN UINT uMsg,
  42. IN WPARAM wParam,
  43. IN LPARAM lParam);