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.

55 lines
1.2 KiB

  1. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  2. // NOTE: Do not modify the contents of this file. If this class is regenerated by
  3. // Microsoft Visual C++, your modifications will be overwritten.
  4. #include "stdafx.h"
  5. #include "hours1.h"
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CHours
  8. IMPLEMENT_DYNCREATE(CHours, CWnd)
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CHours properties
  11. unsigned long CHours::GetCrPermitColor()
  12. {
  13. unsigned long result;
  14. GetProperty(0x1, VT_I4, (void*)&result);
  15. return result;
  16. }
  17. void CHours::SetCrPermitColor(unsigned long propVal)
  18. {
  19. SetProperty(0x1, VT_I4, propVal);
  20. }
  21. unsigned long CHours::GetCrDenyColor()
  22. {
  23. unsigned long result;
  24. GetProperty(0x2, VT_I4, (void*)&result);
  25. return result;
  26. }
  27. void CHours::SetCrDenyColor(unsigned long propVal)
  28. {
  29. SetProperty(0x2, VT_I4, propVal);
  30. }
  31. VARIANT CHours::GetDateData()
  32. {
  33. VARIANT result;
  34. GetProperty(0x3, VT_VARIANT, (void*)&result);
  35. return result;
  36. }
  37. void CHours::SetDateData(const VARIANT& propVal)
  38. {
  39. SetProperty(0x3, VT_VARIANT, &propVal);
  40. }
  41. /////////////////////////////////////////////////////////////////////////////
  42. // CHours operations