Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.3 KiB

  1. // Machine generated IDispatch wrapper class(es) created with ClassWizard
  2. /////////////////////////////////////////////////////////////////////////////
  3. // IPreview wrapper class
  4. class IPreview : public COleDispatchDriver
  5. {
  6. public:
  7. IPreview() {} // Calls COleDispatchDriver default constructor
  8. IPreview(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  9. IPreview(const IPreview& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  10. // Attributes
  11. public:
  12. // Operations
  13. public:
  14. void ShowFile(LPCTSTR bstrFileName, long iSelectCount);
  15. long GetPrintable();
  16. void SetPrintable(long nNewValue);
  17. long GetCxImage();
  18. long GetCyImage();
  19. void Show(const VARIANT& var);
  20. };
  21. /////////////////////////////////////////////////////////////////////////////
  22. // IPreview2 wrapper class
  23. class IPreview2 : public COleDispatchDriver
  24. {
  25. public:
  26. IPreview2() {} // Calls COleDispatchDriver default constructor
  27. IPreview2(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  28. IPreview2(const IPreview2& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  29. // Attributes
  30. public:
  31. // Operations
  32. public:
  33. void ShowFile(LPCTSTR bstrFileName, long iSelectCount);
  34. long GetPrintable();
  35. void SetPrintable(long nNewValue);
  36. long GetCxImage();
  37. long GetCyImage();
  38. void Show(const VARIANT& var);
  39. void Zoom(long iSelectCount);
  40. void BestFit();
  41. void ActualSize();
  42. void SlideShow();
  43. };