00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 Open Download Manager Copyright (c) 2008-2010 OpenDownloadManager.ORG 00004 */ 00005 00006 #if !defined(AFX_VMS7ZIPFORMATDLL_H__088B0073_2E34_4ABB_B1B2_76A6276ED383__INCLUDED_) 00007 #define AFX_VMS7ZIPFORMATDLL_H__088B0073_2E34_4ABB_B1B2_76A6276ED383__INCLUDED_ 00008 00009 #if _MSC_VER > 1000 00010 #pragma once 00011 #endif 00012 00013 class vms7zipFormatDLL 00014 { 00015 public: 00016 00017 HRESULT get_GUID (GUID* guid); 00018 00019 bool IsSupportedArchive(LPCSTR pszArchive); 00020 00021 HRESULT GetHandlerProperty(PROPID propID, PROPVARIANT *value); 00022 00023 HRESULT CreateObject(const GUID *classID, const GUID *interfaceID, void **outObject); 00024 00025 void Free(); 00026 00027 bool Load (LPCSTR pszDll); 00028 00029 vms7zipFormatDLL(LPCSTR pszDll = NULL); 00030 virtual ~vms7zipFormatDLL(); 00031 00032 protected: 00033 typedef HRESULT (STDAPICALLTYPE *FNCreateObject)(const GUID *classID, const GUID *interfaceID, void **outObject); 00034 typedef HRESULT (STDAPICALLTYPE *FNGetHandlerProperty)(PROPID propID, PROPVARIANT *value); 00035 FNCreateObject m_pfnCreateObject; 00036 FNGetHandlerProperty m_pfnGetHandlerProperty; 00037 HMODULE m_hDll; 00038 }; 00039 00040 #endif
1.5.6