Author: gadamopoulos
Date: Fri Apr 19 09:59:50 2013
New Revision: 58786
URL:
http://svn.reactos.org/svn/reactos?rev=58786&view=rev
Log:
[msgina]
- Promote some debug messages to errors in order to understand why trying to open the task
manager from the loged on dialog sometimes fails
Modified:
trunk/reactos/dll/win32/msgina/msgina.c
Modified: trunk/reactos/dll/win32/msgina/msgina.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/msgina.c?…
==============================================================================
--- trunk/reactos/dll/win32/msgina/msgina.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msgina/msgina.c [iso-8859-1] Fri Apr 19 09:59:50 2013
@@ -268,14 +268,14 @@
len = GetWindowsDirectoryW(CurrentDirectory, MAX_PATH);
if (len == 0 || len > MAX_PATH)
{
- WARN("GetWindowsDirectoryW() failed\n");
+ ERR("GetWindowsDirectoryW() failed\n");
return FALSE;
}
ret = DuplicateTokenEx(pgContext->UserToken, MAXIMUM_ALLOWED, NULL,
SecurityImpersonation, TokenPrimary, &hAppToken);
if (!ret)
{
- WARN("DuplicateTokenEx() failed with error %lu\n", GetLastError());
+ ERR("DuplicateTokenEx() failed with error %lu\n", GetLastError());
return FALSE;
}
@@ -290,7 +290,7 @@
len = GetWindowsDirectoryW(CurrentDirectory, MAX_PATH);
if (len == 0 || len > MAX_PATH)
{
- WARN("GetWindowsDirectoryW() failed\n");
+ ERR("GetWindowsDirectoryW() failed\n");
return FALSE;
}
ret = CreateProcessAsUserW(
@@ -309,7 +309,7 @@
CloseHandle(ProcessInformation.hThread);
CloseHandle(hAppToken);
if (!ret)
- WARN("CreateProcessAsUserW() failed with error %lu\n", GetLastError());
+ ERR("CreateProcessAsUserW() failed with error %lu\n", GetLastError());
return ret;
}