[crypt32] Fix TRACE when using a numeric identifier
Detlef Riekenberg
wine.dev at web.de
Wed Sep 6 08:36:02 CDT 2006
Hi Paul:
> When tracing is on for crypt we crashed.
> + if (!HIWORD(pszOID))
> + TRACE("(%lx, %s, #%d, %s, %s)\n", dwEncodingType, pszFuncName, LOWORD(pszOID),
> + debugstr_w(pwszDll), pszOverrideFuncName);
debugstr_a() does this for you.
+ TRACE("(%lx, %s, %s, %s, %s)\n", dwEncodingType, pszFuncName,
+ debugstr_w(pszOID), debugstr_w(pwszDll), pszOverrideFuncName);
You might want to use debugstr_a() also for the other strings
(*FuncName)
--
By by ... Detlef
More information about the wine-devel
mailing list