From 1a3e0d580380e58bf336a242d2affc8a1e2d1ddf Mon Sep 17 00:00:00 2001 From: Wei Mao Date: Fri, 17 Mar 2017 19:47:04 -0700 Subject: Fix cases --- AVStream/samplemft0/dllmain.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 AVStream/samplemft0/dllmain.cpp (limited to 'AVStream/samplemft0/dllmain.cpp') diff --git a/AVStream/samplemft0/dllmain.cpp b/AVStream/samplemft0/dllmain.cpp new file mode 100644 index 00000000..df86088a --- /dev/null +++ b/AVStream/samplemft0/dllmain.cpp @@ -0,0 +1,19 @@ +// dllmain.cpp : Implementation of DllMain. + +#include "stdafx.h" +#include "resource.h" +#include "SampleMft0.h" +#include "dllmain.h" + +CSampleMft0Module _AtlModule; + +// DLL Entry Point +extern "C" BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved) +{ +#ifdef _MERGE_PROXYSTUB + if (!PrxDllMain(hInstance, dwReason, lpReserved)) + return FALSE; +#endif + hInstance; + return _AtlModule.DllMain(dwReason, lpReserved); +} -- cgit v1.3.1