mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 18:46:29 +00:00
Merge back commits from winehq
Maxime Bellenge <maxime.bellenge@laposte.net> - Add the IAutoComplete and IAutoComplete2 implementation (but methods stubbed for now). svn path=/trunk/; revision=10947
This commit is contained in:
parent
dfd4f0156b
commit
6eb55219c8
1 changed files with 8 additions and 7 deletions
|
@ -68,6 +68,7 @@ struct {
|
||||||
{&CLSID_ShellLink, &IShellLink_Constructor},
|
{&CLSID_ShellLink, &IShellLink_Constructor},
|
||||||
{&CLSID_DragDropHelper, &IDropTargetHelper_Constructor},
|
{&CLSID_DragDropHelper, &IDropTargetHelper_Constructor},
|
||||||
{&CLSID_ControlPanel, &IControlPanel_Constructor},
|
{&CLSID_ControlPanel, &IControlPanel_Constructor},
|
||||||
|
{&CLSID_AutoComplete, &IAutoComplete_Constructor},
|
||||||
{NULL,NULL}
|
{NULL,NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -171,17 +172,17 @@ LRESULT WINAPI SHCoCreateInstance(
|
||||||
DllGetClassObjectFunc DllGetClassObject;
|
DllGetClassObjectFunc DllGetClassObject;
|
||||||
|
|
||||||
if ((hLibrary = LoadLibraryExW(sDllPath, 0, LOAD_WITH_ALTERED_SEARCH_PATH)) == 0) {
|
if ((hLibrary = LoadLibraryExW(sDllPath, 0, LOAD_WITH_ALTERED_SEARCH_PATH)) == 0) {
|
||||||
ERR("couldn't load InprocServer32 dll %s\n", debugstr_w(sDllPath));
|
ERR("couldn't load InprocServer32 dll %s\n", debugstr_w(sDllPath));
|
||||||
hres = E_ACCESSDENIED;
|
hres = E_ACCESSDENIED;
|
||||||
goto end;
|
goto end;
|
||||||
} else if (!(DllGetClassObject = (DllGetClassObjectFunc)GetProcAddress(hLibrary, "DllGetClassObject"))) {
|
} else if (!(DllGetClassObject = (DllGetClassObjectFunc)GetProcAddress(hLibrary, "DllGetClassObject"))) {
|
||||||
ERR("couldn't find function DllGetClassObject in %s\n", debugstr_w(sDllPath));
|
ERR("couldn't find function DllGetClassObject in %s\n", debugstr_w(sDllPath));
|
||||||
FreeLibrary( hLibrary );
|
FreeLibrary( hLibrary );
|
||||||
hres = E_ACCESSDENIED;
|
hres = E_ACCESSDENIED;
|
||||||
goto end;
|
goto end;
|
||||||
} else if (! SUCCEEDED(hres = DllGetClassObject(myclsid, &IID_IClassFactory, (LPVOID*)&pcf))) {
|
} else if (! SUCCEEDED(hres = DllGetClassObject(myclsid, &IID_IClassFactory, (LPVOID*)&pcf))) {
|
||||||
TRACE("GetClassObject failed 0x%08lx\n", hres);
|
TRACE("GetClassObject failed 0x%08lx\n", hres);
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue