Nikolay Sivov : msdmo: Add more tracing.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Apr 24 08:48:51 CDT 2015
Module: wine
Branch: master
Commit: 70297c424ad717b270e7aaf5c48b32b0e22ccd95
URL: http://source.winehq.org/git/wine.git/?a=commit;h=70297c424ad717b270e7aaf5c48b32b0e22ccd95
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Thu Apr 23 11:13:10 2015 +0300
msdmo: Add more tracing.
---
dlls/msdmo/dmoreg.c | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/dlls/msdmo/dmoreg.c b/dlls/msdmo/dmoreg.c
index 7ae01a1..dea079a 100644
--- a/dlls/msdmo/dmoreg.c
+++ b/dlls/msdmo/dmoreg.c
@@ -506,7 +506,6 @@ static HRESULT WINAPI IEnumDMO_fnNext(
WCHAR ** Names,
DWORD * pcItemsFetched)
{
- FILETIME ft;
HKEY hkey;
WCHAR szNextKey[MAX_PATH];
WCHAR szGuidKey[64];
@@ -529,7 +528,7 @@ static HRESULT WINAPI IEnumDMO_fnNext(
This->index++;
len = MAX_PATH;
- ret = RegEnumKeyExW(This->hkey, This->index, szNextKey, &len, NULL, NULL, NULL, &ft);
+ ret = RegEnumKeyExW(This->hkey, This->index, szNextKey, &len, NULL, NULL, NULL, NULL);
if (ret != ERROR_SUCCESS)
{
hres = HRESULT_FROM_WIN32(ret);
@@ -552,6 +551,7 @@ static HRESULT WINAPI IEnumDMO_fnNext(
wsprintfW(szKey, szCat2Fmt, szDMORootKey, szNextKey);
ret = RegOpenKeyExW(HKEY_CLASSES_ROOT, szKey, 0, KEY_READ, &hkey);
+ TRACE("testing %s\n", debugstr_w(szKey));
if (This->pInTypes)
{
@@ -571,6 +571,12 @@ static HRESULT WINAPI IEnumDMO_fnNext(
pInTypes = (DMO_PARTIAL_MEDIATYPE*) szValue;
+ TRACE("read %d intypes for %s:\n", cInTypes, debugstr_w(szKey));
+ for (i = 0; i < cInTypes; i++) {
+ TRACE("intype %d: type %s, subtype %s\n", i, debugstr_guid(&pInTypes[i].type),
+ debugstr_guid(&pInTypes[i].subtype));
+ }
+
for (i = 0; i < This->cInTypes; i++)
{
for (j = 0; j < cInTypes; j++)
@@ -608,6 +614,12 @@ static HRESULT WINAPI IEnumDMO_fnNext(
pOutTypes = (DMO_PARTIAL_MEDIATYPE*) szValue;
+ TRACE("read %d outtypes for %s:\n", cOutTypes, debugstr_w(szKey));
+ for (i = 0; i < cOutTypes; i++) {
+ TRACE("outtype %d: type %s, subtype %s\n", i, debugstr_guid(&pOutTypes[i].type),
+ debugstr_guid(&pOutTypes[i].subtype));
+ }
+
for (i = 0; i < This->cOutTypes; i++)
{
for (j = 0; j < cOutTypes; j++)
More information about the wine-cvs
mailing list