mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
734 B
43 lines
734 B
//**************************************************************************
|
|
//
|
|
// Copyright (C) Microsoft Corporation. All rights reserved.
|
|
//
|
|
// FileName: encmain.cpp
|
|
//
|
|
//**************************************************************************
|
|
|
|
//
|
|
// Abstract: Encoder API proxy main
|
|
//
|
|
|
|
#include "private.h"
|
|
|
|
CFactoryTemplate g_Templates[] = {
|
|
{
|
|
L"IVideoEncoder",
|
|
&CLSID_IVideoEncoderProxy,
|
|
CVideoEncoderAPIProxy::CreateInstance,
|
|
NULL,
|
|
NULL
|
|
}
|
|
};
|
|
|
|
int g_cTemplates = SIZEOF_ARRAY(g_Templates);
|
|
|
|
STDAPI
|
|
DllRegisterServer (
|
|
)
|
|
|
|
{
|
|
return AMovieDllRegisterServer2 (TRUE);
|
|
}
|
|
|
|
STDAPI
|
|
DllUnregisterServer (
|
|
)
|
|
|
|
{
|
|
return AMovieDllRegisterServer2 (FALSE);
|
|
}
|
|
|
|
|