Author: hbelusca Date: Sat Jun 3 16:41:00 2017 New Revision: 74768
URL: http://svn.reactos.org/svn/reactos?rev=74768&view=rev Log: [MKHIVE]: Improve dprint output (delimiting where strings start & end: is useful for empty strings).
Modified: branches/setup_improvements/sdk/tools/mkhive/reginf.c
Modified: branches/setup_improvements/sdk/tools/mkhive/reginf.c URL: http://svn.reactos.org/svn/reactos/branches/setup_improvements/sdk/tools/mkh... ============================================================================== --- branches/setup_improvements/sdk/tools/mkhive/reginf.c [iso-8859-1] (original) +++ branches/setup_improvements/sdk/tools/mkhive/reginf.c [iso-8859-1] Sat Jun 3 16:41:00 2017 @@ -172,7 +172,7 @@
if (Total != Size) { - DPRINT("setting value %S to %S\n", ValueName, Buffer); + DPRINT("setting value '%S' to '%S'\n", ValueName, Buffer); RegSetValueExW(KeyHandle, ValueName, 0, @@ -290,6 +290,7 @@ if (Str == NULL) return TRUE;
+ DPRINT("append_multi_sz_value(ValueName = '%S')\n", ValueName); append_multi_sz_value(KeyHandle, ValueName, Str, @@ -319,7 +320,7 @@ { ULONG dw = Str ? strtoulW(Str, NULL, 0) : 0;
- DPRINT("setting dword %S to %x\n", ValueName, dw); + DPRINT("setting dword '%S' to %x\n", ValueName, dw);
RegSetValueExW(KeyHandle, ValueName, @@ -330,7 +331,7 @@ } else { - DPRINT("setting value %S to %S\n", ValueName, Str); + DPRINT("setting value '%S' to '%S'\n", ValueName, Str);
if (Str) { @@ -366,7 +367,7 @@ if (Data == NULL) return FALSE;
- DPRINT("setting binary data %S len %d\n", ValueName, Size); + DPRINT("setting binary data '%S' len %d\n", ValueName, Size); InfHostGetBinaryField(Context, 5, Data, Size, NULL); }
@@ -400,7 +401,6 @@ HKEY KeyHandle; BOOL Ok;
- Ok = InfHostFindFirstLine(hInf, Section, NULL, &Context) == 0; if (!Ok) return TRUE; /* Don't fail if the section isn't present */ @@ -501,7 +501,6 @@ }
InfHostCloseFile(hInf); - return TRUE; }