mirror of
https://github.com/reactos/reactos.git
synced 2025-07-03 16:51:23 +00:00
Don't mix ReactOS and Wine debug style
svn path=/trunk/; revision=30336
This commit is contained in:
parent
b43d7bc04a
commit
0159a42429
1 changed files with 13 additions and 13 deletions
|
@ -359,7 +359,7 @@ CreateLogoffSecurityAttributes(
|
||||||
0, 0, 0, 0, 0, 0, 0,
|
0, 0, 0, 0, 0, 0, 0,
|
||||||
&pEveryoneSID))
|
&pEveryoneSID))
|
||||||
{
|
{
|
||||||
DPRINT("Failed to initialize security descriptor for logoff thread!\n");
|
ERR("Failed to initialize security descriptor for logoff thread!\n");
|
||||||
return STATUS_UNSUCCESSFUL;
|
return STATUS_UNSUCCESSFUL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -373,7 +373,7 @@ CreateLogoffSecurityAttributes(
|
||||||
sizeof(ACL));
|
sizeof(ACL));
|
||||||
if (!pMem)
|
if (!pMem)
|
||||||
{
|
{
|
||||||
DPRINT("Failed to allocate memory for logoff security descriptor!\n");
|
ERR("Failed to allocate memory for logoff security descriptor!\n");
|
||||||
return STATUS_NO_MEMORY;
|
return STATUS_NO_MEMORY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -397,7 +397,7 @@ CreateLogoffSecurityAttributes(
|
||||||
if (SetEntriesInAcl(1, &Access, NULL, &pACL) != ERROR_SUCCESS)
|
if (SetEntriesInAcl(1, &Access, NULL, &pACL) != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
// SetEntriesInAcl is not implemented yet
|
// SetEntriesInAcl is not implemented yet
|
||||||
DPRINT1 ("Failed to set Access Rights for logoff thread. Logging out will most likely fail.\n");
|
ERR("Failed to set Access Rights for logoff thread. Logging out will most likely fail.\n");
|
||||||
|
|
||||||
HeapFree(GetProcessHeap(), 0, pMem);
|
HeapFree(GetProcessHeap(), 0, pMem);
|
||||||
return STATUS_UNSUCCESSFUL;
|
return STATUS_UNSUCCESSFUL;
|
||||||
|
@ -405,8 +405,8 @@ CreateLogoffSecurityAttributes(
|
||||||
|
|
||||||
if (!InitializeSecurityDescriptor(SecurityDescriptor, SECURITY_DESCRIPTOR_REVISION))
|
if (!InitializeSecurityDescriptor(SecurityDescriptor, SECURITY_DESCRIPTOR_REVISION))
|
||||||
{
|
{
|
||||||
|
ERR("Failed to initialize security descriptor for logoff thread!\n");
|
||||||
HeapFree(GetProcessHeap(), 0, pMem);
|
HeapFree(GetProcessHeap(), 0, pMem);
|
||||||
DPRINT("Failed to initialize security descriptor for logoff thread!\n");
|
|
||||||
return STATUS_UNSUCCESSFUL;
|
return STATUS_UNSUCCESSFUL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -415,7 +415,7 @@ CreateLogoffSecurityAttributes(
|
||||||
pACL,
|
pACL,
|
||||||
FALSE)) // not a default DACL
|
FALSE)) // not a default DACL
|
||||||
{
|
{
|
||||||
DPRINT("SetSecurityDescriptorDacl Error %u\n", GetLastError());
|
ERR("SetSecurityDescriptorDacl Error %u\n", GetLastError());
|
||||||
HeapFree(GetProcessHeap(), 0, pMem);
|
HeapFree(GetProcessHeap(), 0, pMem);
|
||||||
return STATUS_UNSUCCESSFUL;
|
return STATUS_UNSUCCESSFUL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue