p7zip-rar/CPP/7zip/Compress/DllExports2Compress.cpp
2017-10-11 12:40:22 +02:00

29 lines
519 B
C++

// DllExports2Compress.cpp
#include "StdAfx.h"
#include "../../Common/MyInitGuid.h"
#include "../ICoder.h"
#include "../Common/RegisterCodec.h"
extern "C"
BOOL WINAPI DllMain(
#ifdef UNDER_CE
HANDLE
#else
HINSTANCE
#endif
/* hInstance */, DWORD /* dwReason */, LPVOID /*lpReserved*/)
{
return TRUE;
}
STDAPI CreateCoder(const GUID *clsid, const GUID *iid, void **outObject);
STDAPI CreateObject(const GUID *clsid, const GUID *iid, void **outObject)
{
return CreateCoder(clsid, iid, outObject);
}