Leaked source code of windows server 2003
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.

60 lines
1.7 KiB

  1. // wiatestDoc.h : interface of the CWiatestDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_WIATESTDOC_H__67C27B39_655D_4B44_863B_9E460A93DDE5__INCLUDED_)
  5. #define AFX_WIATESTDOC_H__67C27B39_655D_4B44_863B_9E460A93DDE5__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CWiatestDoc : public CDocument
  10. {
  11. protected: // create from serialization only
  12. CWiatestDoc();
  13. DECLARE_DYNCREATE(CWiatestDoc)
  14. // Attributes
  15. public:
  16. IWiaItem *m_pIRootItem; // WIA Root Item
  17. IWiaItem *m_pICurrentItem; // WIA Active Item (used for property manipulation)
  18. // Operations
  19. public:
  20. void ReleaseItems();
  21. // Overrides
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(CWiatestDoc)
  24. public:
  25. virtual BOOL OnNewDocument();
  26. virtual void Serialize(CArchive& ar);
  27. //}}AFX_VIRTUAL
  28. // Implementation
  29. public:
  30. HRESULT SetCurrentIWiaItem(IWiaItem *pIWiaItem);
  31. HRESULT GetDeviceName(LPTSTR szDeviceName);
  32. virtual ~CWiatestDoc();
  33. #ifdef _DEBUG
  34. virtual void AssertValid() const;
  35. virtual void Dump(CDumpContext& dc) const;
  36. #endif
  37. protected:
  38. // Generated message map functions
  39. protected:
  40. //{{AFX_MSG(CWiatestDoc)
  41. // NOTE - the ClassWizard will add and remove member functions here.
  42. // DO NOT EDIT what you see in these blocks of generated code !
  43. //}}AFX_MSG
  44. DECLARE_MESSAGE_MAP()
  45. };
  46. /////////////////////////////////////////////////////////////////////////////
  47. //{{AFX_INSERT_LOCATION}}
  48. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  49. #endif // !defined(AFX_WIATESTDOC_H__67C27B39_655D_4B44_863B_9E460A93DDE5__INCLUDED_)