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.

62 lines
1.7 KiB

  1. // $$ClassType$$EI.h : Declaration of the C$$ClassType$$EI
  2. #ifndef __$$ClassType$$EI_H_
  3. #define __$$ClassType$$EI_H_
  4. #include "resource.h" // main symbols
  5. #include "shlobj.h"
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CEI
  8. class ATL_NO_VTABLE C$$ClassType$$EI :
  9. public CComObjectRootEx<CComSingleThreadModel>,
  10. public CComCoClass<C$$ClassType$$EI, &CLSID_$$ClassType$$EI>,
  11. public IPersistFile, public IExtractIcon
  12. {
  13. public:
  14. C$$ClassType$$EI()
  15. {
  16. }
  17. STDMETHODIMP GetClassID(CLSID* pClassID)
  18. { return E_NOTIMPL; };
  19. STDMETHODIMP IsDirty(void)
  20. { return E_NOTIMPL; };
  21. STDMETHODIMP Load(LPCOLESTR pszFileName,
  22. DWORD dwMode);
  23. STDMETHODIMP Save(LPCOLESTR pszFileName,
  24. BOOL fRemember)
  25. { return E_NOTIMPL; };
  26. STDMETHODIMP SaveCompleted(LPCOLESTR pszFileName)
  27. { return E_NOTIMPL; };
  28. STDMETHODIMP GetCurFile(LPOLESTR* ppszFileName)
  29. { return E_NOTIMPL; };
  30. STDMETHODIMP GetIconLocation( UINT uFlags,
  31. LPTSTR szIconFile,
  32. UINT cchMax,
  33. int * piIndex,
  34. UINT * pwFlags);
  35. STDMETHODIMP Extract( LPCTSTR pszFile,
  36. UINT nIconIndex,
  37. HICON *phiconLarge,
  38. HICON *phiconSmall,
  39. UINT nIconSize);
  40. DECLARE_REGISTRY_RESOURCEID(IDR_SHELLEXTENSIONS)
  41. BEGIN_COM_MAP(C$$ClassType$$EI)
  42. COM_INTERFACE_ENTRY(IExtractIcon)
  43. COM_INTERFACE_ENTRY(IPersistFile)
  44. COM_INTERFACE_ENTRY(IPersist)
  45. END_COM_MAP()
  46. public:
  47. };
  48. #endif //__$$ClassType$$EI_H_