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.

45 lines
1.3 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. // CPreview wrapper class
  6. class CPreview : public CWnd
  7. {
  8. protected:
  9. DECLARE_DYNCREATE(CPreview)
  10. public:
  11. CLSID const& GetClsid()
  12. {
  13. static CLSID const clsid
  14. = { 0x50f16b26, 0x467e, 0x11d1, { 0x82, 0x71, 0x0, 0xc0, 0x4f, 0xc3, 0x18, 0x3b } };
  15. return clsid;
  16. }
  17. virtual BOOL Create(LPCTSTR lpszClassName,
  18. LPCTSTR lpszWindowName, DWORD dwStyle,
  19. const RECT& rect,
  20. CWnd* pParentWnd, UINT nID,
  21. CCreateContext* pContext = NULL)
  22. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  23. BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  24. const RECT& rect, CWnd* pParentWnd, UINT nID,
  25. CFile* pPersist = NULL, BOOL bStorage = FALSE,
  26. BSTR bstrLicKey = NULL)
  27. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  28. pPersist, bStorage, bstrLicKey); }
  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. };