[PATCH 2/2] mmdevapi: Add a TRACE to info_device_ps_GetValue().

Henri Verbeet hverbeet at codeweavers.com
Thu Sep 1 14:54:54 CDT 2011


So that people can actually see it getting called. The format isn't my
favourite, but it's consistent with MMDevPropStore_GetValue(), except for the
closing brace.
---
 dlls/mmdevapi/devenum.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/mmdevapi/devenum.c b/dlls/mmdevapi/devenum.c
index 2f6c809..bedd2e4 100644
--- a/dlls/mmdevapi/devenum.c
+++ b/dlls/mmdevapi/devenum.c
@@ -1237,6 +1237,7 @@ static HRESULT WINAPI info_device_ps_GetValue(IPropertyStore *iface,
         REFPROPERTYKEY key, PROPVARIANT *pv)
 {
     MMDevPropStore *This = impl_from_IPropertyStore(iface);
+    TRACE("(%p)->(\"%s,%u\", %p)\n", This, debugstr_guid(&key->fmtid), key ? key->pid : 0, pv);
 
     if (!key || !pv)
         return E_POINTER;
-- 
1.7.3.4




More information about the wine-patches mailing list