/*********************************************************************** * DllRegisterServer (wineqtdecoder.@) */ HRESULT WINAPI DllRegisterServer(void) { HRESULT hr; TRACE("()\n"); hr = AMovieDllRegisterServer2(TRUE); if (SUCCEEDED(hr)) hr = __wine_register_resources(hInst); return hr; }
/*********************************************************************** * DllRegisterServer (ATL.@) */ HRESULT WINAPI DllRegisterServer(void) { #ifdef __REACTOS__ /* Note: we can't use __wine_register_server here because it uses CLSID_Registrar which isn't registred yet */ return do_register_server(TRUE); #else return __wine_register_resources( atl_instance ); #endif }
/*********************************************************************** * DllRegisterServer (DEVENUM.@) */ HRESULT WINAPI DllRegisterServer(void) { HRESULT res; IFilterMapper2 * pMapper = NULL; LPVOID mapvptr; TRACE("\n"); res = __wine_register_resources( DEVENUM_hInstance ); if (FAILED(res)) return res; #ifdef __REACTOS__ /* Quartz is needed for IFilterMapper2 */ DEVENUM_RegisterQuartz(); #endif /*** ActiveMovieFilter Categories ***/ CoInitialize(NULL); res = CoCreateInstance(&CLSID_FilterMapper2, NULL, CLSCTX_INPROC, &IID_IFilterMapper2, &mapvptr); if (SUCCEEDED(res)) { static const WCHAR friendlyvidcap[] = {'V','i','d','e','o',' ','C','a','p','t','u','r','e',' ','S','o','u','r','c','e','s',0}; static const WCHAR friendlydshow[] = {'D','i','r','e','c','t','S','h','o','w',' ','F','i','l','t','e','r','s',0}; static const WCHAR friendlyvidcomp[] = {'V','i','d','e','o',' ','C','o','m','p','r','e','s','s','o','r','s',0}; static const WCHAR friendlyaudcap[] = {'A','u','d','i','o',' ','C','a','p','t','u','r','e',' ','S','o','u','r','c','e','s',0}; static const WCHAR friendlyaudcomp[] = {'A','u','d','i','o',' ','C','o','m','p','r','e','s','s','o','r','s',0}; static const WCHAR friendlyaudrend[] = {'A','u','d','i','o',' ','R','e','n','d','e','r','e','r','s',0}; static const WCHAR friendlymidirend[] = {'M','i','d','i',' ','R','e','n','d','e','r','e','r','s',0}; static const WCHAR friendlyextrend[] = {'E','x','t','e','r','n','a','l',' ','R','e','n','d','e','r','e','r','s',0}; 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}; pMapper = mapvptr; IFilterMapper2_CreateCategory(pMapper, &CLSID_VideoInputDeviceCategory, MERIT_DO_NOT_USE, friendlyvidcap); IFilterMapper2_CreateCategory(pMapper, &CLSID_LegacyAmFilterCategory, MERIT_NORMAL, friendlydshow); IFilterMapper2_CreateCategory(pMapper, &CLSID_VideoCompressorCategory, MERIT_DO_NOT_USE, friendlyvidcomp); IFilterMapper2_CreateCategory(pMapper, &CLSID_AudioInputDeviceCategory, MERIT_DO_NOT_USE, friendlyaudcap); IFilterMapper2_CreateCategory(pMapper, &CLSID_AudioCompressorCategory, MERIT_DO_NOT_USE, friendlyaudcomp); IFilterMapper2_CreateCategory(pMapper, &CLSID_AudioRendererCategory, MERIT_NORMAL, friendlyaudrend); IFilterMapper2_CreateCategory(pMapper, &CLSID_MidiRendererCategory, MERIT_NORMAL, friendlymidirend); IFilterMapper2_CreateCategory(pMapper, &CLSID_TransmitCategory, MERIT_DO_NOT_USE, friendlyextrend); IFilterMapper2_CreateCategory(pMapper, &CLSID_DeviceControlCategory, MERIT_DO_NOT_USE, friendlydevctrl); IFilterMapper2_Release(pMapper); } CoUninitialize(); return res; }
/*********************************************************************** * DllRegisterServer (MSHTML.@) */ HRESULT WINAPI DllRegisterServer(void) { HRESULT hres; hres = __wine_register_resources( hInst, NULL ); if(SUCCEEDED(hres)) hres = register_server(TRUE); if(SUCCEEDED(hres)) load_gecko(FALSE); return hres; }
BOOL RegisterTypeLibraries (HINF hinf, LPCWSTR szSection) { INFCONTEXT InfContext; BOOL res; WCHAR szName[MAX_PATH]; WCHAR szPath[MAX_PATH]; INT csidl; LPWSTR p; HMODULE hmod; HRESULT hret; /* Begin iterating the entries in the inf section */ res = SetupFindFirstLine(hinf, szSection, NULL, &InfContext); if (!res) return FALSE; do { /* Get the name of the current type library */ if (!SetupGetStringFieldW(&InfContext, 1, szName, MAX_PATH, NULL)) { FatalError("SetupGetStringFieldW failed\n"); continue; } if (!SetupGetIntField(&InfContext, 2, &csidl)) csidl = CSIDL_SYSTEM; hret = SHGetFolderPathW(NULL, csidl, NULL, 0, szPath); if (FAILED(hret)) { FatalError("SHGetFolderPathW failed hret=0x%d\n", hret); continue; } p = PathAddBackslash(szPath); _tcscpy(p, szName); hmod = LoadLibraryW(szName); if (hmod == NULL) { FatalError("LoadLibraryW failed\n"); continue; } __wine_register_resources(hmod); }while (SetupFindNextLine(&InfContext, &InfContext)); return TRUE; }
/*********************************************************************** * DllRegisterServer (DSOUND.@) */ HRESULT WINAPI DllRegisterServer(void) { return __wine_register_resources( instance ); }
/*********************************************************************** * DllRegisterServer (wshom.ocx.@) */ HRESULT WINAPI DllRegisterServer(void) { TRACE("()\n"); return __wine_register_resources(wshom_instance); }
/************************************************************************* * DllRegisterServer (ExplorerFrame.@) */ HRESULT WINAPI DllRegisterServer(void) { return __wine_register_resources( explorerframe_hinstance ); }
/*********************************************************************** * DllRegisterServer (AVIFIL32.@) */ HRESULT WINAPI DllRegisterServer(void) { return __wine_register_resources( AVIFILE_hModule ); }
HRESULT WINAPI DllRegisterServer(void) { HRESULT hr = __wine_register_resources( hInst, NULL ); if (FAILED(hr)) return hr; return register_server(TRUE); }
HRESULT WINAPI DllRegisterServer(void) { install_wine_mono(); return __wine_register_resources( MSCOREE_hInstance ); }
HRESULT WINAPI DllRegisterServer(void) { return __wine_register_resources(adsldp_hinst); }
/*********************************************************************** * DllRegisterServer (msimtf.@) */ HRESULT WINAPI DllRegisterServer(void) { return __wine_register_resources( msimtf_instance, NULL ); }
HRESULT WINAPI DllRegisterServer(void) { TRACE("()\n"); return __wine_register_resources(oleacc_handle); }
/*********************************************************************** * DllRegisterServer (vbscript.@) */ HRESULT WINAPI DllRegisterServer(void) { TRACE("()\n"); return __wine_register_resources(vbscript_hinstance, NULL); }