Commit 450bc798 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

More debug output for RegQueryInfoKey.

parent c6c04836
......@@ -3502,7 +3502,11 @@ DWORD WINAPI RegQueryInfoKeyW( HKEY hkey, LPWSTR lpszClass,
int nrofkeys,maxsubkey,maxclass,maxvname,maxvdata;
int i;
TRACE_(reg)("(%x,%p,...)\n",hkey,lpszClass);
TRACE_(reg)("(%x,%p,%ld,%p,%p,%p,%p,%p,%p,%p,%p)\n",
hkey, lpszClass, lpcchClass?*lpcchClass:0,lpdwReserved,
lpcSubKeys,lpcchMaxSubkey,lpcValues,lpcchMaxValueName,
lpccbMaxValueData,lpcbSecurityDescriptor,ft
);
lpkey = lookup_hkey(hkey);
if (!lpkey)
return ERROR_INVALID_HANDLE;
......@@ -3580,7 +3584,11 @@ DWORD WINAPI RegQueryInfoKeyA( HKEY hkey, LPSTR lpszClass, LPDWORD lpcchClass,
LPWSTR lpszClassW = NULL;
DWORD ret;
TRACE_(reg)("(%x,%p,%p......)\n",hkey, lpszClass, lpcchClass);
TRACE_(reg)("(%x,%p,%ld,%p,%p,%p,%p,%p,%p,%p,%p)\n",
hkey, lpszClass, lpcchClass?*lpcchClass:0,lpdwReserved,
lpcSubKeys,lpcchMaxSubkey,lpcValues,lpcchMaxValueName,
lpccbMaxValueData,lpcbSecurityDescriptor,ft
);
if (lpszClass) {
if (lpcchClass) {
lpszClassW = (LPWSTR)xmalloc((*lpcchClass) * 2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment