Source code of Windows XP (NT5)
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
908 B

  1. /*++
  2. Copyright (c) 1994-1998, Microsoft Corporation All rights reserved.
  3. Module Name:
  4. clock.h
  5. Abstract:
  6. This module contains the information for the clock in the Date/Time
  7. applet.
  8. Revision History:
  9. --*/
  10. //
  11. // Messages.
  12. //
  13. //
  14. // CLM_UPDATETIME
  15. //
  16. // wParam: CLF_GETTIME or CLF_SETTIME (senders perspective)
  17. // lParam: pointer to LPSYSTEMTIME called to force reflection of new time
  18. // return: not used
  19. //
  20. #define CLF_GETTIME 0
  21. #define CLF_SETTIME 1
  22. #define CLM_UPDATETIME (WM_USER + 102)
  23. //
  24. // CLM_TIMEHWND
  25. //
  26. // wParam: CLF_GETPROVIDERHWND or CLF_SETPROVIDERHWND
  27. // lParam: HWND of timer window
  28. // return: not used
  29. //
  30. #define CLF_GETHWND 0
  31. #define CLF_SETHWND 1
  32. #define CLM_TIMEHWND (WM_USER + 103)
  33. //
  34. // Function Prototypes.
  35. //
  36. BOOL
  37. ClockInit(
  38. HINSTANCE hInstance);
  39. BOOL
  40. CalendarInit(
  41. HINSTANCE hInstance);