00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #if !defined(AFX_IMAGESERVICEBITMAP_H__FF700A57_852F_4A86_BE0A_D021A67C94AA__INCLUDED_)
00023 #define AFX_IMAGESERVICEBITMAP_H__FF700A57_852F_4A86_BE0A_D021A67C94AA__INCLUDED_
00024
00025 #pragma once
00026
00027
00028 class CBitmapImageService : public CCmdTarget
00029 {
00030
00031 public:
00032 CBitmapImageService();
00033 virtual ~CBitmapImageService();
00034
00035 DECLARE_DYNAMIC(CBitmapImageService)
00036
00037
00038 public:
00039 static IImageServicePlugin* Create();
00040
00041
00042 protected:
00043 BEGIN_INTERFACE_PART(Service, IImageServicePlugin)
00044 STDMETHOD(LoadFromFile)(HANDLE hFile, DWORD nLength, IMAGESERVICEDATA FAR* pParams, SAFEARRAY FAR* FAR* ppImage);
00045 STDMETHOD(LoadFromMemory)(SAFEARRAY FAR* pMemory, IMAGESERVICEDATA FAR* pParams, SAFEARRAY FAR* FAR* ppImage);
00046 STDMETHOD(SaveToFile)(HANDLE hFile, IMAGESERVICEDATA FAR* pParams, SAFEARRAY FAR* pImage);
00047 STDMETHOD(SaveToMemory)(SAFEARRAY FAR* FAR* ppMemory, IMAGESERVICEDATA FAR* pParams, SAFEARRAY FAR* pImage);
00048 END_INTERFACE_PART(Service)
00049
00050 DECLARE_INTERFACE_MAP()
00051
00052
00053 protected:
00054
00055
00056
00057
00058 DECLARE_MESSAGE_MAP()
00059
00060 };
00061
00062
00063
00064 #endif // !defined(AFX_IMAGESERVICEBITMAP_H__FF700A57_852F_4A86_BE0A_D021A67C94AA__INCLUDED_)