mirror of
https://github.com/reactos/reactos.git
synced 2025-05-29 14:08:22 +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);
|
&ObjectName);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DPRINT("ObpCaptureObjectAttributes() failed (Status %lx)\n", Status);
|
DPRINT1("ObpCaptureObjectAttributes() failed (Status %lx)\n", Status);
|
||||||
goto Cleanup;
|
goto Cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -271,7 +271,7 @@ NtCreateKey(OUT PHANDLE KeyHandle,
|
||||||
PostCreateKeyInfo.Status = Status;
|
PostCreateKeyInfo.Status = Status;
|
||||||
CmiCallRegisteredCallbacks(RegNtPostCreateKey, &PostCreateKeyInfo);
|
CmiCallRegisteredCallbacks(RegNtPostCreateKey, &PostCreateKeyInfo);
|
||||||
|
|
||||||
DPRINT("CmpFindObject failed, Status: 0x%x\n", Status);
|
DPRINT1("CmpFindObject failed, Status: 0x%x\n", Status);
|
||||||
goto Cleanup;
|
goto Cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -286,7 +286,7 @@ NtCreateKey(OUT PHANDLE KeyHandle,
|
||||||
PostCreateKeyInfo.Status = STATUS_UNSUCCESSFUL;
|
PostCreateKeyInfo.Status = STATUS_UNSUCCESSFUL;
|
||||||
CmiCallRegisteredCallbacks(RegNtPostCreateKey, &PostCreateKeyInfo);
|
CmiCallRegisteredCallbacks(RegNtPostCreateKey, &PostCreateKeyInfo);
|
||||||
|
|
||||||
DPRINT("Object marked for delete!\n");
|
DPRINT1("Object marked for delete!\n");
|
||||||
Status = STATUS_UNSUCCESSFUL;
|
Status = STATUS_UNSUCCESSFUL;
|
||||||
goto Cleanup;
|
goto Cleanup;
|
||||||
}
|
}
|
||||||
|
@ -297,7 +297,8 @@ NtCreateKey(OUT PHANDLE KeyHandle,
|
||||||
TRUE,
|
TRUE,
|
||||||
&hKey);
|
&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.Object = NULL;
|
||||||
PostCreateKeyInfo.Status = Status;
|
PostCreateKeyInfo.Status = Status;
|
||||||
|
@ -395,7 +396,7 @@ NtCreateKey(OUT PHANDLE KeyHandle,
|
||||||
CreateOptions);
|
CreateOptions);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DPRINT("CmiAddSubKey() failed (Status %lx)\n", Status);
|
DPRINT1("CmiAddSubKey() failed (Status %lx)\n", Status);
|
||||||
/* Release hive lock */
|
/* Release hive lock */
|
||||||
ExReleaseResourceLite(&CmiRegistryLock);
|
ExReleaseResourceLite(&CmiRegistryLock);
|
||||||
KeLeaveCriticalRegion();
|
KeLeaveCriticalRegion();
|
||||||
|
|
Loading…
Reference in a new issue