vccoor.cpp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 "vccoor.h"
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CVcCoor properties
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CVcCoor operations
  10. float CVcCoor::GetX()
  11. {
  12. float result;
  13. InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
  14. return result;
  15. }
  16. void CVcCoor::SetX(float newValue)
  17. {
  18. static BYTE parms[] =
  19. VTS_R4;
  20. InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  21. newValue);
  22. }
  23. float CVcCoor::GetY()
  24. {
  25. float result;
  26. InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
  27. return result;
  28. }
  29. void CVcCoor::SetY(float newValue)
  30. {
  31. static BYTE parms[] =
  32. VTS_R4;
  33. InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  34. newValue);
  35. }
  36. void CVcCoor::Set(float X, float Y)
  37. {
  38. static BYTE parms[] =
  39. VTS_R4 VTS_R4;
  40. InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  41. X, Y);
  42. }