Print something useful in trace and fixme.

This commit is contained in:
Stefan Leichter 2005-08-22 09:21:34 +00:00 committed by Alexandre Julliard
parent 6301fec0ef
commit 80af49401b
1 changed files with 5 additions and 5 deletions

View File

@ -800,20 +800,20 @@ HRESULT WINAPI AtlModuleUpdateRegistryFromResourceD(_ATL_MODULEW* pM, LPCOLESTR
*/
WCHAR module_name[MAX_PATH];
TRACE("stub %p (%s), %s, %d, %p, %p\n", hInst, debugstr_w(module_name),
debugstr_w(lpszRes), bRegister, pMapEntries, pReg);
if(pMapEntries || pReg) {
FIXME("MapEntries and Registrar parameter not supported\n");
return E_FAIL;
}
if(!GetModuleFileNameW(lhInst, module_name, MAX_PATH)) {
FIXME("%p (%s) did not get module name\n",
lhInst, debugstr_w(module_name));
FIXME("hinst %p: did not get module name\n",
lhInst);
return E_FAIL;
}
TRACE("%p (%s), %s, %d, %p, %p\n", hInst, debugstr_w(module_name),
debugstr_w(lpszRes), bRegister, pMapEntries, pReg);
return do_register_dll_server(module_name, lpszRes, bRegister);
}