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.

57 lines
1.7 KiB

  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. /////////////////////////////////////////////////////////////////////////////
  5. // CPreview3 wrapper class
  6. #ifndef _CPREVIEW3_H_
  7. #define _CPREVIEW3_H_
  8. class CPreview3 : public CWnd
  9. {
  10. protected:
  11. DECLARE_DYNCREATE(CPreview3)
  12. public:
  13. CLSID const& GetClsid()
  14. {
  15. static CLSID const clsid
  16. = { 0x50f16b26, 0x467e, 0x11d1, { 0x82, 0x71, 0x0, 0xc0, 0x4f, 0xc3, 0x18, 0x3b } };
  17. return clsid;
  18. }
  19. virtual BOOL Create(LPCTSTR lpszClassName,
  20. LPCTSTR lpszWindowName, DWORD dwStyle,
  21. const RECT& rect,
  22. CWnd* pParentWnd, UINT nID,
  23. CCreateContext* pContext = NULL)
  24. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  25. BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  26. const RECT& rect, CWnd* pParentWnd, UINT nID,
  27. CFile* pPersist = NULL, BOOL bStorage = FALSE,
  28. BSTR bstrLicKey = NULL)
  29. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  30. pPersist, bStorage, bstrLicKey); }
  31. // Attributes
  32. public:
  33. // Operations
  34. public:
  35. void ShowFile(LPCTSTR bstrFileName, long iSelectCount);
  36. long GetPrintable();
  37. void SetPrintable(long nNewValue);
  38. long GetCxImage();
  39. long GetCyImage();
  40. void Show(const VARIANT& var);
  41. void Zoom(long iSelectCount);
  42. void BestFit();
  43. void ActualSize();
  44. void SlideShow();
  45. void Rotate(unsigned long dwAngle);
  46. void IsValidVerb(LPCTSTR bstrVerb);
  47. void Commit();
  48. void SaveAs(LPCTSTR bstrPath);
  49. };
  50. #endif