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