#include <vms7zipFormatDLL.h>
Public Member Functions | |
| HRESULT | get_GUID (GUID *guid) |
| bool | IsSupportedArchive (LPCSTR pszArchive) |
| HRESULT | GetHandlerProperty (PROPID propID, PROPVARIANT *value) |
| HRESULT | CreateObject (const GUID *classID, const GUID *interfaceID, void **outObject) |
| void | Free () |
| bool | Load (LPCSTR pszDll) |
| vms7zipFormatDLL (LPCSTR pszDll=NULL) | |
| virtual | ~vms7zipFormatDLL () |
Protected Types | |
| typedef HRESULT(STDAPICALLTYPE * | FNCreateObject )(const GUID *classID, const GUID *interfaceID, void **outObject) |
| typedef HRESULT(STDAPICALLTYPE * | FNGetHandlerProperty )(PROPID propID, PROPVARIANT *value) |
Protected Attributes | |
| FNCreateObject | m_pfnCreateObject |
| FNGetHandlerProperty | m_pfnGetHandlerProperty |
| HMODULE | m_hDll |
Definition at line 13 of file vms7zipFormatDLL.h.
typedef HRESULT(STDAPICALLTYPE * vms7zipFormatDLL::FNCreateObject)(const GUID *classID, const GUID *interfaceID, void **outObject) [protected] |
typedef HRESULT(STDAPICALLTYPE * vms7zipFormatDLL::FNGetHandlerProperty)(PROPID propID, PROPVARIANT *value) [protected] |
| vms7zipFormatDLL::vms7zipFormatDLL | ( | LPCSTR | pszDll = NULL |
) |
Definition at line 17 of file vms7zipFormatDLL.cpp.
References Load(), m_hDll, m_pfnCreateObject, m_pfnGetHandlerProperty, and NULL.
| vms7zipFormatDLL::~vms7zipFormatDLL | ( | ) | [virtual] |
| HRESULT vms7zipFormatDLL::get_GUID | ( | GUID * | guid | ) |
Definition at line 92 of file vms7zipFormatDLL.cpp.
References tagPROPVARIANT::bstrVal, FAILED, GetHandlerProperty(), hr, HRESULT, NArchive::kClassID, S_OK, and SysFreeString().
Referenced by vms7zipArchive::Find7zipDLL().
Definition at line 70 of file vms7zipFormatDLL.cpp.
References tagPROPVARIANT::bstrVal, FAILED, FALSE, GetHandlerProperty(), IsExtInExtsStr(), NArchive::kExtension, NULL, and SysFreeString().
Referenced by vms7zipArchive::Find7zipDLL().
| HRESULT vms7zipFormatDLL::GetHandlerProperty | ( | PROPID | propID, | |
| PROPVARIANT * | value | |||
| ) |
Definition at line 62 of file vms7zipFormatDLL.cpp.
References m_pfnGetHandlerProperty, and NULL.
Referenced by get_GUID(), and IsSupportedArchive().
| HRESULT vms7zipFormatDLL::CreateObject | ( | const GUID * | classID, | |
| const GUID * | interfaceID, | |||
| void ** | outObject | |||
| ) |
Definition at line 54 of file vms7zipFormatDLL.cpp.
References m_pfnCreateObject, and NULL.
Referenced by vms7zipArchive::Find7zipDLL().
| void vms7zipFormatDLL::Free | ( | void | ) |
Definition at line 43 of file vms7zipFormatDLL.cpp.
References m_hDll, m_pfnCreateObject, m_pfnGetHandlerProperty, and NULL.
Referenced by Load(), and ~vms7zipFormatDLL().
Definition at line 32 of file vms7zipFormatDLL.cpp.
References Free(), m_hDll, m_pfnCreateObject, m_pfnGetHandlerProperty, and NULL.
Referenced by vms7zipArchive::Find7zipDLL(), and vms7zipFormatDLL().
FNCreateObject vms7zipFormatDLL::m_pfnCreateObject [protected] |
Definition at line 35 of file vms7zipFormatDLL.h.
Referenced by CreateObject(), Free(), Load(), and vms7zipFormatDLL().
Definition at line 36 of file vms7zipFormatDLL.h.
Referenced by Free(), GetHandlerProperty(), Load(), and vms7zipFormatDLL().
HMODULE vms7zipFormatDLL::m_hDll [protected] |
Definition at line 37 of file vms7zipFormatDLL.h.
Referenced by Free(), Load(), and vms7zipFormatDLL().
1.5.6