picture.cpp 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 "picture.h"
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CPicture properties
  8. long CPicture::GetHandle()
  9. {
  10. long result;
  11. GetProperty(0x0, VT_I4, (void*)&result);
  12. return result;
  13. }
  14. long CPicture::GetHPal()
  15. {
  16. long result;
  17. GetProperty(0x2, VT_I4, (void*)&result);
  18. return result;
  19. }
  20. void CPicture::SetHPal(long propVal)
  21. {
  22. SetProperty(0x2, VT_I4, propVal);
  23. }
  24. short CPicture::GetType()
  25. {
  26. short result;
  27. GetProperty(0x3, VT_I2, (void*)&result);
  28. return result;
  29. }
  30. long CPicture::GetWidth()
  31. {
  32. long result;
  33. GetProperty(0x4, VT_I4, (void*)&result);
  34. return result;
  35. }
  36. long CPicture::GetHeight()
  37. {
  38. long result;
  39. GetProperty(0x5, VT_I4, (void*)&result);
  40. return result;
  41. }
  42. /////////////////////////////////////////////////////////////////////////////
  43. // CPicture operations