vctick.cpp 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 "vctick.h"
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CVcTick properties
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CVcTick operations
  10. float CVcTick::GetLength()
  11. {
  12. float result;
  13. InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
  14. return result;
  15. }
  16. void CVcTick::SetLength(float newValue)
  17. {
  18. static BYTE parms[] =
  19. VTS_R4;
  20. InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  21. newValue);
  22. }
  23. long CVcTick::GetStyle()
  24. {
  25. long result;
  26. InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  27. return result;
  28. }
  29. void CVcTick::SetStyle(long nNewValue)
  30. {
  31. static BYTE parms[] =
  32. VTS_I4;
  33. InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  34. nNewValue);
  35. }