32static void DEVENUM_RegisterQuartz(
void);
68 IClassFactory_AddRef(iface);
101 return IUnknown_QueryInterface(
This->obj, iid,
obj);
167 DEVENUM_RegisterQuartz();
175 &IID_IFilterMapper2, &mapvptr);
178 static const WCHAR friendlyvidcap[] = {
'V',
'i',
'd',
'e',
'o',
' ',
'C',
'a',
'p',
't',
'u',
'r',
'e',
' ',
'S',
'o',
'u',
'r',
'c',
'e',
's',0};
179 static const WCHAR friendlydshow[] = {
'D',
'i',
'r',
'e',
'c',
't',
'S',
'h',
'o',
'w',
' ',
'F',
'i',
'l',
't',
'e',
'r',
's',0};
180 static const WCHAR friendlyvidcomp[] = {
'V',
'i',
'd',
'e',
'o',
' ',
'C',
'o',
'm',
'p',
'r',
'e',
's',
's',
'o',
'r',
's',0};
181 static const WCHAR friendlyaudcap[] = {
'A',
'u',
'd',
'i',
'o',
' ',
'C',
'a',
'p',
't',
'u',
'r',
'e',
' ',
'S',
'o',
'u',
'r',
'c',
'e',
's',0};
182 static const WCHAR friendlyaudcomp[] = {
'A',
'u',
'd',
'i',
'o',
' ',
'C',
'o',
'm',
'p',
'r',
'e',
's',
's',
'o',
'r',
's',0};
183 static const WCHAR friendlyaudrend[] = {
'A',
'u',
'd',
'i',
'o',
' ',
'R',
'e',
'n',
'd',
'e',
'r',
'e',
'r',
's',0};
184 static const WCHAR friendlymidirend[] = {
'M',
'i',
'd',
'i',
' ',
'R',
'e',
'n',
'd',
'e',
'r',
'e',
'r',
's',0};
185 static const WCHAR friendlyextrend[] = {
'E',
'x',
't',
'e',
'r',
'n',
'a',
'l',
' ',
'R',
'e',
'n',
'd',
'e',
'r',
'e',
'r',
's',0};
186 static const WCHAR friendlydevctrl[] = {
'D',
'e',
'v',
'i',
'c',
'e',
' ',
'C',
'o',
'n',
't',
'r',
'o',
'l',
' ',
'F',
'i',
'l',
't',
'e',
'r',
's',0};
190 IFilterMapper2_CreateCategory(pMapper, &CLSID_VideoInputDeviceCategory,
MERIT_DO_NOT_USE, friendlyvidcap);
191 IFilterMapper2_CreateCategory(pMapper, &CLSID_LegacyAmFilterCategory, MERIT_NORMAL, friendlydshow);
192 IFilterMapper2_CreateCategory(pMapper, &CLSID_VideoCompressorCategory,
MERIT_DO_NOT_USE, friendlyvidcomp);
193 IFilterMapper2_CreateCategory(pMapper, &CLSID_AudioInputDeviceCategory,
MERIT_DO_NOT_USE, friendlyaudcap);
194 IFilterMapper2_CreateCategory(pMapper, &CLSID_AudioCompressorCategory,
MERIT_DO_NOT_USE, friendlyaudcomp);
195 IFilterMapper2_CreateCategory(pMapper, &CLSID_AudioRendererCategory, MERIT_NORMAL, friendlyaudrend);
196 IFilterMapper2_CreateCategory(pMapper, &CLSID_MidiRendererCategory, MERIT_NORMAL, friendlymidirend);
197 IFilterMapper2_CreateCategory(pMapper, &CLSID_TransmitCategory,
MERIT_DO_NOT_USE, friendlyextrend);
198 IFilterMapper2_CreateCategory(pMapper, &CLSID_DeviceControlCategory,
MERIT_DO_NOT_USE, friendlydevctrl);
200 IFilterMapper2_Release(pMapper);
222static void DEVENUM_RegisterQuartz(
void)
225 DllRegisterServer_func pDllRegisterServer =
NULL;
227 pDllRegisterServer = (DllRegisterServer_func)
GetProcAddress(hDLL,
"DllRegisterServer");
228 if (pDllRegisterServer)
232 ERR(
"Failed to register Quartz. Error was 0x%x)\n",
hr);
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
const GUID IID_IClassFactory
ICreateDevEnum DEVENUM_CreateDevEnum
static HINSTANCE devenum_instance
HRESULT WINAPI DllRegisterServer(void)
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
static const IClassFactoryVtbl ClassFactory_vtbl
static ULONG WINAPI ClassFactory_Release(IClassFactory *iface)
HRESULT WINAPI DllGetClassObject(REFCLSID clsid, REFIID iid, void **obj)
static struct class_factory create_devenum_cf
HRESULT WINAPI DllUnregisterServer(void)
static struct class_factory device_moniker_cf
static ULONG WINAPI ClassFactory_AddRef(IClassFactory *iface)
static HRESULT WINAPI ClassFactory_LockServer(IClassFactory *iface, BOOL lock)
HRESULT WINAPI DllCanUnloadNow(void)
static struct class_factory * impl_from_IClassFactory(IClassFactory *iface)
DECLSPEC_HIDDEN LONG dll_refs
static HRESULT WINAPI ClassFactory_QueryInterface(IClassFactory *iface, REFIID iid, void **obj)
static HRESULT WINAPI ClassFactory_CreateInstance(IClassFactory *iface, IUnknown *outer, REFIID iid, void **obj)
static void DEVENUM_UnlockModule(void)
static void DEVENUM_LockModule(void)
#define DLL_PROCESS_ATTACH
#define GetProcAddress(x, y)
HINSTANCE WINAPI DECLSPEC_HOTPATCH LoadLibraryA(LPCSTR lpLibFileName)
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
HRESULT WINAPI CoInitialize(LPVOID lpReserved)
void WINAPI DECLSPEC_HOTPATCH CoUninitialize(void)
IParseDisplayName DEVENUM_ParseDisplayName
#define IsEqualGUID(rguid1, rguid2)
HRESULT __wine_unregister_resources(HMODULE module) DECLSPEC_HIDDEN
HRESULT __wine_register_resources(HMODULE module) DECLSPEC_HIDDEN
IClassFactory IClassFactory_iface
#define CONTAINING_RECORD(address, type, field)
#define CLASS_E_NOAGGREGATION
#define CLASS_E_CLASSNOTAVAILABLE