diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2008-08-13 04:00:00 +0400 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:15:56 +0300 |
commit | 173c07e166fdf6fcd20f18ea73008f1b628945df (patch) | |
tree | 13ebea85cdc4c16ae93714ff0627ee9f91ad7e08 /CPP/7zip/UI/Common/HandlerLoader.h | |
parent | 3901bf0ab88106a5b031cba7bc18d60cdebf7eef (diff) |
4.59 beta
Diffstat (limited to 'CPP/7zip/UI/Common/HandlerLoader.h')
-rwxr-xr-x | CPP/7zip/UI/Common/HandlerLoader.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CPP/7zip/UI/Common/HandlerLoader.h b/CPP/7zip/UI/Common/HandlerLoader.h index 2a878019..4c7e1a8f 100755 --- a/CPP/7zip/UI/Common/HandlerLoader.h +++ b/CPP/7zip/UI/Common/HandlerLoader.h @@ -7,14 +7,14 @@ #include "Windows/DLL.h" typedef UInt32 (WINAPI * CreateObjectFunc)( - const GUID *clsID, - const GUID *interfaceID, + const GUID *clsID, + const GUID *interfaceID, void **outObject); class CHandlerLoader: public NWindows::NDLL::CLibrary { public: - HRESULT CreateHandler(LPCWSTR filepath, REFGUID clsID, + HRESULT CreateHandler(LPCWSTR filepath, REFGUID clsID, void **archive, bool outHandler) { if (!Load(filepath)) @@ -27,7 +27,7 @@ public: Free(); return res; } - HRESULT res = createObject(&clsID, + HRESULT res = createObject(&clsID, outHandler ? &IID_IOutArchive : &IID_IInArchive, (void **)archive); if (res != 0) Free(); |