vcstatline.cpp 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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 "vcstatline.h"
  6. // Dispatch interfaces referenced by this interface
  7. #include "vccolor.h"
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CVcStatLine properties
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CVcStatLine operations
  12. short CVcStatLine::GetFlag()
  13. {
  14. short result;
  15. InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  16. return result;
  17. }
  18. void CVcStatLine::SetFlag(short nNewValue)
  19. {
  20. static BYTE parms[] =
  21. VTS_I2;
  22. InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  23. nNewValue);
  24. }
  25. CVcColor CVcStatLine::GetVtColor()
  26. {
  27. LPDISPATCH pDispatch;
  28. InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  29. return CVcColor(pDispatch);
  30. }
  31. float CVcStatLine::GetWidth()
  32. {
  33. float result;
  34. InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
  35. return result;
  36. }
  37. void CVcStatLine::SetWidth(float newValue)
  38. {
  39. static BYTE parms[] =
  40. VTS_R4;
  41. InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  42. newValue);
  43. }
  44. long CVcStatLine::GetStyle(long type)
  45. {
  46. long result;
  47. static BYTE parms[] =
  48. VTS_I4;
  49. InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
  50. type);
  51. return result;
  52. }
  53. void CVcStatLine::SetStyle(long type, long nNewValue)
  54. {
  55. static BYTE parms[] =
  56. VTS_I4 VTS_I4;
  57. InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  58. type, nNewValue);
  59. }