Output some more informations.
Mark one global variable static.
This commit is contained in:
parent
1afddb3cd3
commit
30ed10004b
|
@ -267,7 +267,7 @@ struct _actions {
|
|||
STANDARDACTIONHANDLER handler;
|
||||
};
|
||||
|
||||
struct _actions StandardActions[] = {
|
||||
static struct _actions StandardActions[] = {
|
||||
{ szAllocateRegistrySpace, NULL},
|
||||
{ szAppSearch, ACTION_AppSearch },
|
||||
{ szBindImage, NULL},
|
||||
|
@ -3120,7 +3120,7 @@ static UINT ACTION_DuplicateFiles(MSIPACKAGE *package)
|
|||
rc = ERROR_SUCCESS;
|
||||
|
||||
if (rc != ERROR_SUCCESS)
|
||||
ERR("Failed to copy file\n");
|
||||
ERR("Failed to copy file %s -> %s, last error %ld\n", debugstr_w(file_source), debugstr_w(dest_path), GetLastError());
|
||||
|
||||
FIXME("We should track these duplicate files as well\n");
|
||||
|
||||
|
|
|
@ -386,11 +386,10 @@ static HRESULT WINAPI ICreateErrorInfoImpl_SetHelpFile(
|
|||
LPOLESTR szHelpFile)
|
||||
{
|
||||
_ICOM_THIS_From_ICreateErrorInfo(ErrorInfoImpl, iface);
|
||||
TRACE("(%p)\n",This);
|
||||
TRACE("(%p,%s)\n",This,debugstr_w(szHelpFile));
|
||||
if (This->bstrHelpFile != NULL)
|
||||
ERRORINFO_SysFreeString(This->bstrHelpFile);
|
||||
This->bstrHelpFile = ERRORINFO_SysAllocString(szHelpFile);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
@ -399,9 +398,8 @@ static HRESULT WINAPI ICreateErrorInfoImpl_SetHelpContext(
|
|||
DWORD dwHelpContext)
|
||||
{
|
||||
_ICOM_THIS_From_ICreateErrorInfo(ErrorInfoImpl, iface);
|
||||
TRACE("(%p)\n",This);
|
||||
TRACE("(%p,%ld)\n",This,dwHelpContext);
|
||||
This->m_dwHelpContext = dwHelpContext;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
|
|
@ -1267,7 +1267,7 @@ static HRESULT _SHGetDefaultValue(BYTE folder, LPWSTR pszPath)
|
|||
}
|
||||
else
|
||||
{
|
||||
FIXME("LoadString failed, missing translation?\n");
|
||||
FIXME("(%d,%s), LoadString failed, missing translation?\n", folder, debugstr_w(pszPath));
|
||||
hr = E_FAIL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue