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
1009 B

  1. /*++
  2. Microsoft Confidential
  3. Copyright (c) 1992-1997 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. //
  15. // Preprocessor definitions
  16. //
  17. #define SYSTEM_VAR 1
  18. #define USER_VAR 2
  19. #define INVALID_VAR_TYPE 0xeeee
  20. #define EDIT_VAR 1
  21. #define NEW_VAR 2
  22. #define INVALID_EDIT_TYPE 0xeeee
  23. #define EDIT_NO_CHANGE 0
  24. #define EDIT_CHANGE 1
  25. #define EDIT_ERROR (-1)
  26. #define EDIT_ENVVAR_CAPTION_LENGTH 128
  27. //
  28. // Global variables
  29. //
  30. extern UINT g_VarType;
  31. extern UINT g_EditType;
  32. extern TCHAR g_szVarName[BUFZ];
  33. extern TCHAR g_szVarValue[BUFZ];
  34. //
  35. // Function prototypes
  36. //
  37. INT_PTR
  38. APIENTRY
  39. EnvVarsEditDlg(
  40. IN HWND hDlg,
  41. IN UINT uMsg,
  42. IN WPARAM wParam,
  43. IN LPARAM lParam
  44. );