27#define NONAMELESSSTRUCT
28#define NONAMELESSUNION
39#include "wine/unicode.h"
56static const WCHAR ips32_keyname[] = {
'I',
'n',
'P',
'r',
'o',
'c',
'S',
'e',
'r',
'v',
'e',
'r',
'3',
'2',0};
57static const WCHAR tmodel_keyname[] = {
'T',
'h',
'r',
'e',
'a',
'd',
'i',
'n',
'g',
'M',
'o',
'd',
'e',
'l',0};
94 (
const BYTE*)szThreadingModel,
124 pList->m_Name, szFileName,
148 return IFilterMapper2_RegisterFilter(pIFM2, pFilter->
clsid, pFilter->
name,
NULL, &CLSID_LegacyAmFilterCategory,
NULL, &rf2);
152 return IFilterMapper2_UnregisterFilter(pIFM2, &CLSID_LegacyAmFilterCategory,
NULL, pFilter->
clsid);
164 ERR(
"Failed to get module file name for registration\n");
173 TRACE(
"Getting IFilterMapper2\r\n");
175 &IID_IFilterMapper2, (
void **)&pIFM2);
182 IFilterMapper2_Release(pIFM2);
212 if (
pList->m_lpfnInit)
252 IClassFactory_AddRef(iface);
296 punk =
This->pfnCreateInstance(pOuter, &
hres);
307 hres = IUnknown_QueryInterface(punk,
riid, ppobj);
312 IUnknown_Release(punk);
371 else if (!
pList->m_lpfnNew)
char * strcpy(char *DstString, const char *SrcString)
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
const GUID IID_IClassFactory
#define RegCloseKey(hKey)
LSTATUS WINAPI RegDeleteTreeW(_In_ HKEY, _In_opt_ LPCWSTR)
static const WCHAR szDescription[]
LONG WINAPI RegSetValueExW(_In_ HKEY hKey, _In_ LPCWSTR lpValueName, _In_ DWORD Reserved, _In_ DWORD dwType, _In_ CONST BYTE *lpData, _In_ DWORD cbData)
LONG WINAPI RegSetValueW(HKEY hKeyOriginal, LPCWSTR lpSubKey, DWORD dwType, LPCWSTR lpData, DWORD cbData)
LONG WINAPI RegCreateKeyW(HKEY hKey, LPCWSTR lpSubKey, PHKEY phkResult)
#define DLL_PROCESS_ATTACH
#define DLL_PROCESS_DETACH
#define HeapFree(x, y, z)
DWORD WINAPI GetModuleFileNameW(HINSTANCE hModule, LPWSTR lpFilename, DWORD nSize)
DWORD WINAPI GetModuleFileNameA(HINSTANCE hModule, LPSTR lpFilename, DWORD nSize)
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
void WINAPI DECLSPEC_HOTPATCH CoFreeUnusedLibraries(void)
HRESULT WINAPI CoInitialize(LPVOID lpReserved)
void WINAPI DECLSPEC_HOTPATCH CoUninitialize(void)
INT WINAPI StringFromGUID2(REFGUID id, LPOLESTR str, INT cmax)
static const WCHAR tmodel_keyname[]
static ULONG WINAPI DSCF_AddRef(IClassFactory *iface)
static HRESULT SetupRegisterClass(HKEY clsid, LPCWSTR szCLSID, LPCWSTR szDescription, LPCWSTR szFileName, LPCWSTR szServerType, LPCWSTR szThreadingModel)
static HRESULT SetupRegisterAllClasses(const FactoryTemplate *pList, int num, LPCWSTR szFileName, BOOL bRegister)
HRESULT WINAPI AMovieSetupRegisterFilter2(const AMOVIESETUP_FILTER *pFilter, IFilterMapper2 *pIFM2, BOOL bRegister)
static ULONG WINAPI DSCF_Release(IClassFactory *iface)
HRESULT WINAPI STRMBASE_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
HRESULT WINAPI STRMBASE_DllCanUnloadNow(void)
static const WCHAR tmodel_both[]
BOOL WINAPI STRMBASE_DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
static HRESULT WINAPI DSCF_LockServer(IClassFactory *iface, BOOL dolock)
static const WCHAR clsid_keyname[]
static void SetupInitializeServers(const FactoryTemplate *pList, int num, BOOL bLoading)
static HRESULT WINAPI DSCF_QueryInterface(IClassFactory *iface, REFIID riid, void **ppobj)
const FactoryTemplate g_Templates[]
HRESULT WINAPI AMovieDllRegisterServer2(BOOL bRegister)
static const IClassFactoryVtbl DSCF_Vtbl
static IClassFactoryImpl * impl_from_IClassFactory(IClassFactory *iface)
static HRESULT WINAPI DSCF_CreateInstance(IClassFactory *iface, IUnknown *pOuter, REFIID riid, void **ppobj)
static const WCHAR ips32_keyname[]
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define IsEqualGUID(rguid1, rguid2)
IUnknown *(CALLBACK * LPFNNewCOMObject)(LPUNKNOWN pUnkOuter, HRESULT *phr)
const AMOVIESETUP_PIN * pPin
LPFNNewCOMObject pfnCreateInstance
const REGFILTERPINS * rgPins
IClassFactory IClassFactory_iface
#define CONTAINING_RECORD(address, type, field)
#define HRESULT_FROM_WIN32(x)
#define CLASS_E_CLASSNOTAVAILABLE
#define HKEY_CLASSES_ROOT