Commit 80354e50 authored by Andrew Nguyen's avatar Andrew Nguyen Committed by Alexandre Julliard

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

parent a9d1f1bb
...@@ -635,6 +635,9 @@ static HRESULT fill_file_description(IDxDiagContainerImpl_Container *node, const ...@@ -635,6 +635,9 @@ static HRESULT fill_file_description(IDxDiagContainerImpl_Container *node, const
UINT uiLength; UINT uiLength;
VS_FIXEDFILEINFO *pFileInfo; 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) + szFile = HeapAlloc(GetProcessHeap(), 0, sizeof(WCHAR) * (lstrlenW(szFilePath) +
lstrlenW(szFileName) + 2 /* slash + terminator */)); lstrlenW(szFileName) + 2 /* slash + terminator */));
if (!szFile) if (!szFile)
...@@ -680,6 +683,8 @@ static HRESULT fill_file_description(IDxDiagContainerImpl_Container *node, const ...@@ -680,6 +683,8 @@ static HRESULT fill_file_description(IDxDiagContainerImpl_Container *node, const
HIWORD(pFileInfo->dwFileVersionLS), HIWORD(pFileInfo->dwFileVersionLS),
LOWORD(pFileInfo->dwFileVersionLS)); LOWORD(pFileInfo->dwFileVersionLS));
TRACE("Found version as (%s)\n", debugstr_w(szVersion_v));
hr = add_bstr_property(node, szVersion, szVersion_v); hr = add_bstr_property(node, szVersion, szVersion_v);
if (FAILED(hr)) if (FAILED(hr))
goto cleanup; goto cleanup;
...@@ -896,6 +901,9 @@ static HRESULT fill_filter_container(IDxDiagContainerImpl_Container *subcont, IM ...@@ -896,6 +901,9 @@ static HRESULT fill_filter_container(IDxDiagContainerImpl_Container *subcont, IM
if (FAILED(hr)) if (FAILED(hr))
goto cleanup; 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)); hr = add_bstr_property(subcont, szName, V_BSTR(&friendly_name));
if (FAILED(hr)) if (FAILED(hr))
goto cleanup; goto cleanup;
...@@ -990,6 +998,8 @@ static HRESULT build_directshowfilters_tree(IDxDiagContainerImpl_Container *node ...@@ -990,6 +998,8 @@ static HRESULT build_directshowfilters_tree(IDxDiagContainerImpl_Container *node
continue; continue;
} }
TRACE("Enumerating class %s\n", debugstr_guid(&clsidCat));
while (IEnumMoniker_Next(pEnum, 1, &pMoniker, NULL) == S_OK) while (IEnumMoniker_Next(pEnum, 1, &pMoniker, NULL) == S_OK)
{ {
WCHAR bufferW[10]; WCHAR bufferW[10];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment