Robert Shearman : secur32: Improve tracing.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Feb 10 08:54:58 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 81d9e10533faf4fc1b43b77749f30493dd885b5f
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=81d9e10533faf4fc1b43b77749f30493dd885b5f
Author: Robert Shearman <rob at codeweavers.com>
Date: Fri Feb 10 14:51:59 2006 +0100
secur32: Improve tracing.
Improve the tracing for functions that can be called by the app, but
bypass the relay code.
---
dlls/secur32/secur32.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/secur32/secur32.c b/dlls/secur32/secur32.c
index 1aee7ec..f3a3e23 100644
--- a/dlls/secur32/secur32.c
+++ b/dlls/secur32/secur32.c
@@ -703,6 +703,8 @@ SECURITY_STATUS WINAPI EnumerateSecurity
{
SECURITY_STATUS ret = SEC_E_OK;
+ TRACE("(%p, %p)\n", pcPackages, ppPackageInfo);
+
/* windows just crashes if pcPackages or ppPackageInfo is NULL, so will I */
*pcPackages = 0;
EnterCriticalSection(&cs);
@@ -737,6 +739,7 @@ SECURITY_STATUS WINAPI EnumerateSecurity
memcpy(pkgInfo, &package->infoW, sizeof(SecPkgInfoW));
if (package->infoW.Name)
{
+ TRACE("Name[%ld] = %s\n", i - 1, debugstr_w(package->infoW.Name));
pkgInfo->Name = nextString;
lstrcpyW(nextString, package->infoW.Name);
nextString += lstrlenW(nextString) + 1;
@@ -745,6 +748,7 @@ SECURITY_STATUS WINAPI EnumerateSecurity
pkgInfo->Name = NULL;
if (package->infoW.Comment)
{
+ TRACE("Comment[%ld] = %s\n", i - 1, debugstr_w(package->infoW.Comment));
pkgInfo->Comment = nextString;
lstrcpyW(nextString, package->infoW.Comment);
nextString += lstrlenW(nextString) + 1;
@@ -758,6 +762,7 @@ SECURITY_STATUS WINAPI EnumerateSecurity
}
}
LeaveCriticalSection(&cs);
+ TRACE("<-- 0x%08lx\n", ret);
return ret;
}
More information about the wine-cvs
mailing list