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.

70 lines
1.5 KiB

  1. #if !defined(INCL_NAG)
  2. #define INCL_NAG
  3. /* File: D:\WACKER\tdll\nagdlg.h (Created: 29-June-1996 by mpt)
  4. *
  5. * Copyright 1996 by Hilgraeve Inc. -- Monroe, MI
  6. * All rights reserved
  7. *
  8. * Description:
  9. * Description: Used to nag the user about purchasing HyperTerminal
  10. * if they are in violation of the license agreement
  11. *
  12. * $Revision: 1 $
  13. * $Date: 10/05/98 12:34p $
  14. */
  15. #include <time.h>
  16. // IsEval
  17. //
  18. // Determines whether the user should be nagged about purchasing HT
  19. //
  20. BOOL IsEval(void);
  21. // IsTimeToNag
  22. //
  23. // Base on the InstallDate, should we display a nag screen now?
  24. //
  25. BOOL IsTimeToNag(void);
  26. // SetNagFlag
  27. //
  28. // Sets the "nag" flag which will either turn off
  29. // this feature the next time HyperTerminal starts.
  30. //
  31. void SetNagFlag(TCHAR *serial);
  32. // DoUpgradeDlg
  33. //
  34. // Displays the upgrade dialog
  35. //
  36. void DoUpgradeDlg(HWND hDlg);
  37. // ExpDays
  38. //
  39. // Returns the number of days left in the evaluation period
  40. //
  41. INT ExpDays(void);
  42. time_t CalcExpirationDate(void);
  43. // DoRegisterDlg
  44. //
  45. // Displays the register dialog
  46. //
  47. void DoRegisterDlg(HWND hDlg);
  48. // NagRegisterDlgProc
  49. //
  50. // The dialog procedure for the "Nag Register" dialog.
  51. //
  52. BOOL CALLBACK NagRegisterDlgProc(HWND hDlg, UINT wMsg, WPARAM wPar, LPARAM lPar);
  53. // DefaultNagDlgProc
  54. //
  55. // The dialog procedure for the "Nag" dialog.
  56. //
  57. BOOL CALLBACK DefaultNagDlgProc(HWND hDlg, UINT wMsg, WPARAM wPar, LPARAM lPar);
  58. #endif