00001
00034 #include "stdafx.h"
00035 #include "Tee.h"
00036
00038
00039 static const WCHAR g_wszName[] = L"Meraka RTVC Tee Filter";
00040
00041
00042 AMOVIESETUP_FILTER FilterInfo =
00043 {
00044 &CLSID_RtvcTee,
00045 g_wszName,
00046 MERIT_DO_NOT_USE,
00047 0,
00048 NULL
00049 };
00050
00051 CFactoryTemplate g_Templates[1] =
00052 {
00053 {
00054 g_wszName,
00055 &CLSID_RtvcTee,
00056 CRtvcTee::CreateInstance,
00057 NULL,
00058 &FilterInfo
00059 }
00060 };
00061 int g_cTemplates = sizeof(g_Templates) / sizeof(g_Templates[0]);
00062
00064
00065
00066 STDAPI DllRegisterServer(void)
00067 {
00068 return AMovieDllRegisterServer2(TRUE);
00069 }
00070
00071 STDAPI DllUnregisterServer()
00072 {
00073 return AMovieDllRegisterServer2(FALSE);
00074 }
00075
00076
00077 extern "C" BOOL WINAPI DllEntryPoint(HINSTANCE, ULONG, LPVOID);
00078 BOOL APIENTRY DllMain(HANDLE hModule, DWORD dwReason, LPVOID lpReserved)
00079 {
00080 return DllEntryPoint((HINSTANCE)(hModule), dwReason, lpReserved);
00081 }