mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 05:28:14 +00:00
DPRINT->DPRINT1 in key places (when something fails we shouldn't keep silence).
svn path=/trunk/; revision=20016
This commit is contained in:
parent
1c93c8782a
commit
3390cf5cda
1 changed files with 6 additions and 5 deletions
|
@ -246,7 +246,7 @@ NtCreateKey(OUT PHANDLE KeyHandle,
|
|||
&ObjectName);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT("ObpCaptureObjectAttributes() failed (Status %lx)\n", Status);
|
||||
DPRINT1("ObpCaptureObjectAttributes() failed (Status %lx)\n", Status);
|
||||
goto Cleanup;
|
||||
}
|
||||
|
||||
|
@ -271,7 +271,7 @@ NtCreateKey(OUT PHANDLE KeyHandle,
|
|||
PostCreateKeyInfo.Status = Status;
|
||||
CmiCallRegisteredCallbacks(RegNtPostCreateKey, &PostCreateKeyInfo);
|
||||
|
||||
DPRINT("CmpFindObject failed, Status: 0x%x\n", Status);
|
||||
DPRINT1("CmpFindObject failed, Status: 0x%x\n", Status);
|
||||
goto Cleanup;
|
||||
}
|
||||
|
||||
|
@ -286,7 +286,7 @@ NtCreateKey(OUT PHANDLE KeyHandle,
|
|||
PostCreateKeyInfo.Status = STATUS_UNSUCCESSFUL;
|
||||
CmiCallRegisteredCallbacks(RegNtPostCreateKey, &PostCreateKeyInfo);
|
||||
|
||||
DPRINT("Object marked for delete!\n");
|
||||
DPRINT1("Object marked for delete!\n");
|
||||
Status = STATUS_UNSUCCESSFUL;
|
||||
goto Cleanup;
|
||||
}
|
||||
|
@ -297,7 +297,8 @@ NtCreateKey(OUT PHANDLE KeyHandle,
|
|||
TRUE,
|
||||
&hKey);
|
||||
|
||||
DPRINT("ObpCreateHandle failed Status 0x%x\n", Status);
|
||||
if (!NT_SUCCESS(Status))
|
||||
DPRINT1("ObpCreateHandle failed Status 0x%x\n", Status);
|
||||
|
||||
PostCreateKeyInfo.Object = NULL;
|
||||
PostCreateKeyInfo.Status = Status;
|
||||
|
@ -395,7 +396,7 @@ NtCreateKey(OUT PHANDLE KeyHandle,
|
|||
CreateOptions);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT("CmiAddSubKey() failed (Status %lx)\n", Status);
|
||||
DPRINT1("CmiAddSubKey() failed (Status %lx)\n", Status);
|
||||
/* Release hive lock */
|
||||
ExReleaseResourceLite(&CmiRegistryLock);
|
||||
KeLeaveCriticalRegion();
|
||||
|
|
Loading…
Reference in a new issue