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

Alexandre Julliard julliard at winehq.org
Tue Feb 15 11:29:26 CST 2011


Module: wine
Branch: master
Commit: 80354e5031fc2ad275d6a889c9032141a40eaa3b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=80354e5031fc2ad275d6a889c9032141a40eaa3b

Author: Andrew Nguyen <anguyen at codeweavers.com>
Date:   Tue Feb 15 01:17:44 2011 -0600

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

---

 dlls/dxdiagn/provider.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/dlls/dxdiagn/provider.c b/dlls/dxdiagn/provider.c
index f19fcc0..9a6ba6b 100644
--- a/dlls/dxdiagn/provider.c
+++ b/dlls/dxdiagn/provider.c
@@ -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];




More information about the wine-cvs mailing list