dxdiagn: Restore a few traces in the container construction functions.

This commit is contained in:
Andrew Nguyen 2011-02-15 01:17:44 -06:00 committed by Alexandre Julliard
parent a9d1f1bb4f
commit 80354e5031
1 changed files with 10 additions and 0 deletions

View File

@ -635,6 +635,9 @@ static HRESULT fill_file_description(IDxDiagContainerImpl_Container *node, const
UINT uiLength;
VS_FIXEDFILEINFO *pFileInfo;
TRACE("Filling container %p for %s in %s\n", node,
debugstr_w(szFileName), debugstr_w(szFilePath));
szFile = HeapAlloc(GetProcessHeap(), 0, sizeof(WCHAR) * (lstrlenW(szFilePath) +
lstrlenW(szFileName) + 2 /* slash + terminator */));
if (!szFile)
@ -680,6 +683,8 @@ static HRESULT fill_file_description(IDxDiagContainerImpl_Container *node, const
HIWORD(pFileInfo->dwFileVersionLS),
LOWORD(pFileInfo->dwFileVersionLS));
TRACE("Found version as (%s)\n", debugstr_w(szVersion_v));
hr = add_bstr_property(node, szVersion, szVersion_v);
if (FAILED(hr))
goto cleanup;
@ -896,6 +901,9 @@ static HRESULT fill_filter_container(IDxDiagContainerImpl_Container *subcont, IM
if (FAILED(hr))
goto cleanup;
TRACE("Name = %s\n", debugstr_w(V_BSTR(&friendly_name)));
TRACE("CLSID = %s\n", debugstr_w(V_BSTR(&clsid_name)));
hr = add_bstr_property(subcont, szName, V_BSTR(&friendly_name));
if (FAILED(hr))
goto cleanup;
@ -990,6 +998,8 @@ static HRESULT build_directshowfilters_tree(IDxDiagContainerImpl_Container *node
continue;
}
TRACE("Enumerating class %s\n", debugstr_guid(&clsidCat));
while (IEnumMoniker_Next(pEnum, 1, &pMoniker, NULL) == S_OK)
{
WCHAR bufferW[10];