mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[0.4.11][SETUP] Silence some noisy DPRINT1
picked from 0.4.12-dev-260-g 0150bb964a
This commit is contained in:
parent
aa7844e519
commit
ea47455687
4 changed files with 11 additions and 8 deletions
|
@ -1048,7 +1048,10 @@ RegCleanupRegistry(
|
||||||
Status = DisconnectRegistry(NULL,
|
Status = DisconnectRegistry(NULL,
|
||||||
RegistryHives[i].HiveRegistryPath,
|
RegistryHives[i].HiveRegistryPath,
|
||||||
1 /* REG_FORCE_UNLOAD */);
|
1 /* REG_FORCE_UNLOAD */);
|
||||||
DPRINT1("Unmounting '%S' %s\n", RegistryHives[i].HiveRegistryPath, NT_SUCCESS(Status) ? "succeeded" : "failed");
|
if (!NT_SUCCESS(Status))
|
||||||
|
{
|
||||||
|
DPRINT1("Unmounting '%S' failed\n", RegistryHives[i].HiveRegistryPath);
|
||||||
|
}
|
||||||
|
|
||||||
/* Switch the hive state to 'Update' */
|
/* Switch the hive state to 'Update' */
|
||||||
RegistryHives[i].State = Update;
|
RegistryHives[i].State = Update;
|
||||||
|
|
|
@ -809,7 +809,7 @@ ProcessDisplayRegistry(
|
||||||
}
|
}
|
||||||
|
|
||||||
ASSERT(wcslen(ServiceName) < 10);
|
ASSERT(wcslen(ServiceName) < 10);
|
||||||
DPRINT1("Service name: '%S'\n", ServiceName);
|
DPRINT("Service name: '%S'\n", ServiceName);
|
||||||
|
|
||||||
RtlStringCchPrintfW(RegPath, ARRAYSIZE(RegPath),
|
RtlStringCchPrintfW(RegPath, ARRAYSIZE(RegPath),
|
||||||
L"System\\CurrentControlSet\\Services\\%s",
|
L"System\\CurrentControlSet\\Services\\%s",
|
||||||
|
@ -853,7 +853,7 @@ ProcessDisplayRegistry(
|
||||||
RtlStringCchPrintfW(RegPath, ARRAYSIZE(RegPath),
|
RtlStringCchPrintfW(RegPath, ARRAYSIZE(RegPath),
|
||||||
L"System\\CurrentControlSet\\Hardware Profiles\\Current\\System\\CurrentControlSet\\Services\\%s\\Device0",
|
L"System\\CurrentControlSet\\Hardware Profiles\\Current\\System\\CurrentControlSet\\Services\\%s\\Device0",
|
||||||
ServiceName);
|
ServiceName);
|
||||||
DPRINT1("RegPath: '%S'\n", RegPath);
|
DPRINT("RegPath: '%S'\n", RegPath);
|
||||||
RtlInitUnicodeString(&KeyName, RegPath);
|
RtlInitUnicodeString(&KeyName, RegPath);
|
||||||
InitializeObjectAttributes(&ObjectAttributes,
|
InitializeObjectAttributes(&ObjectAttributes,
|
||||||
&KeyName,
|
&KeyName,
|
||||||
|
|
|
@ -497,7 +497,7 @@ IniCacheLoadFromMemory(
|
||||||
&SectionName,
|
&SectionName,
|
||||||
&SectionNameSize);
|
&SectionNameSize);
|
||||||
|
|
||||||
DPRINT1("[%.*s]\n", SectionNameSize, SectionName);
|
DPRINT("[%.*s]\n", SectionNameSize, SectionName);
|
||||||
|
|
||||||
Section = IniCacheAddSection(*Cache,
|
Section = IniCacheAddSection(*Cache,
|
||||||
SectionName,
|
SectionName,
|
||||||
|
@ -526,7 +526,7 @@ IniCacheLoadFromMemory(
|
||||||
&KeyValueSize,
|
&KeyValueSize,
|
||||||
String);
|
String);
|
||||||
|
|
||||||
DPRINT1("'%.*s' = '%.*s'\n", KeyNameSize, KeyName, KeyValueSize, KeyValue);
|
DPRINT("'%.*s' = '%.*s'\n", KeyNameSize, KeyName, KeyValueSize, KeyValue);
|
||||||
|
|
||||||
Key = IniCacheAddKey(Section,
|
Key = IniCacheAddKey(Section,
|
||||||
KeyName,
|
KeyName,
|
||||||
|
|
|
@ -2972,7 +2972,7 @@ CheckActiveSystemPartition(
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
DPRINT1("We are here (1)!\n");
|
DPRINT("We are here (1)!\n");
|
||||||
|
|
||||||
List->SystemPartition = NULL;
|
List->SystemPartition = NULL;
|
||||||
List->OriginalSystemPartition = NULL;
|
List->OriginalSystemPartition = NULL;
|
||||||
|
@ -3010,7 +3010,7 @@ CheckActiveSystemPartition(
|
||||||
DPRINT1("NewDisk TRUE but first partition is used?\n");
|
DPRINT1("NewDisk TRUE but first partition is used?\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
DPRINT1("We are here (2)!\n");
|
DPRINT("We are here (2)!\n");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The disk is not new, check if any partition is initialized;
|
* The disk is not new, check if any partition is initialized;
|
||||||
|
@ -3053,7 +3053,7 @@ CheckActiveSystemPartition(
|
||||||
List->SystemPartition = NULL;
|
List->SystemPartition = NULL;
|
||||||
List->OriginalSystemPartition = NULL;
|
List->OriginalSystemPartition = NULL;
|
||||||
|
|
||||||
DPRINT1("We are here (3)!\n");
|
DPRINT("We are here (3)!\n");
|
||||||
|
|
||||||
/* The disk is not new, scan all partitions to find the (active) system partition */
|
/* The disk is not new, scan all partitions to find the (active) system partition */
|
||||||
ListEntry = DiskEntry->PrimaryPartListHead.Flink;
|
ListEntry = DiskEntry->PrimaryPartListHead.Flink;
|
||||||
|
|
Loading…
Reference in a new issue