[KERNEL32]

* Silence some debug prints.

svn path=/trunk/; revision=60073
This commit is contained in:
Amine Khaldi 2013-09-13 09:02:56 +00:00
parent d6b7cc394d
commit e6b9ab39f6
2 changed files with 14 additions and 14 deletions

View file

@ -401,7 +401,7 @@ WINAPI
BaseComputeProcessExePath(IN LPWSTR FullPath) BaseComputeProcessExePath(IN LPWSTR FullPath)
{ {
PBASE_SEARCH_PATH_TYPE PathOrder; PBASE_SEARCH_PATH_TYPE PathOrder;
DPRINT1("Computing EXE path: %S\n", FullPath); DPRINT("Computing EXE path: %S\n", FullPath);
/* Check if we should use the current directory */ /* Check if we should use the current directory */
PathOrder = NeedCurrentDirectoryForExePathW(FullPath) ? PathOrder = NeedCurrentDirectoryForExePathW(FullPath) ?

View file

@ -629,14 +629,14 @@ BasePushProcessParameters(IN ULONG ParameterFlags,
/* Create the Parameter Block */ /* Create the Parameter Block */
ProcessParameters = NULL; ProcessParameters = NULL;
DPRINT1("ImageName: '%wZ'\n", &ImageName); DPRINT("ImageName: '%wZ'\n", &ImageName);
DPRINT1("DllPath : '%wZ'\n", &DllPath); DPRINT("DllPath : '%wZ'\n", &DllPath);
DPRINT1("CurDir : '%wZ'\n", &CurrentDirectory); DPRINT("CurDir : '%wZ'\n", &CurrentDirectory);
DPRINT1("CmdLine : '%wZ'\n", &CommandLine); DPRINT("CmdLine : '%wZ'\n", &CommandLine);
DPRINT1("Title : '%wZ'\n", &Title); DPRINT("Title : '%wZ'\n", &Title);
DPRINT1("Desktop : '%wZ'\n", &Desktop); DPRINT("Desktop : '%wZ'\n", &Desktop);
DPRINT1("Shell : '%wZ'\n", &Shell); DPRINT("Shell : '%wZ'\n", &Shell);
DPRINT1("Runtime : '%wZ'\n", &Runtime); DPRINT("Runtime : '%wZ'\n", &Runtime);
Status = RtlCreateProcessParameters(&ProcessParameters, Status = RtlCreateProcessParameters(&ProcessParameters,
&ImageName, &ImageName,
&DllPath, &DllPath,
@ -2468,7 +2468,7 @@ CreateProcessInternalW(IN HANDLE hUserToken,
PolicyPathPair.Nt = &SxsNtPolicyPath.String; PolicyPathPair.Nt = &SxsNtPolicyPath.String;
#endif #endif
DPRINT1("CreateProcessInternalW: %S %S %lx\n", lpApplicationName, lpCommandLine, dwCreationFlags); DPRINT("CreateProcessInternalW: %S %S %lx\n", lpApplicationName, lpCommandLine, dwCreationFlags);
/* Finally, set our TEB and PEB */ /* Finally, set our TEB and PEB */
Teb = NtCurrentTeb(); Teb = NtCurrentTeb();
@ -2710,7 +2710,7 @@ StartScan:
/* Now compute the final EXE path based on the name */ /* Now compute the final EXE path based on the name */
SearchPath = BaseComputeProcessExePath((LPWSTR)lpApplicationName); SearchPath = BaseComputeProcessExePath((LPWSTR)lpApplicationName);
DPRINT1("Search Path: %S\n", SearchPath); DPRINT("Search Path: %S\n", SearchPath);
if (!SearchPath) if (!SearchPath)
{ {
SetLastError(ERROR_NOT_ENOUGH_MEMORY); SetLastError(ERROR_NOT_ENOUGH_MEMORY);
@ -2744,7 +2744,7 @@ StartScan:
} }
} }
DPRINT1("Length: %lu Buffer: %S\n", Length, NameBuffer); DPRINT("Length: %lu Buffer: %S\n", Length, NameBuffer);
/* Check if there was a failure in SearchPathW */ /* Check if there was a failure in SearchPathW */
if ((Length) && (Length < MAX_PATH)) if ((Length) && (Length < MAX_PATH))
@ -2891,7 +2891,7 @@ StartScan:
} }
/* Now use the path name, and the root path, to try opening the app */ /* Now use the path name, and the root path, to try opening the app */
DPRINT1("Path: %wZ. Dir: %p\n", &PathName, SxsWin32RelativePath.ContainingDirectory); DPRINT("Path: %wZ. Dir: %p\n", &PathName, SxsWin32RelativePath.ContainingDirectory);
InitializeObjectAttributes(&LocalObjectAttributes, InitializeObjectAttributes(&LocalObjectAttributes,
&PathName, &PathName,
OBJ_CASE_INSENSITIVE, OBJ_CASE_INSENSITIVE,
@ -2956,7 +2956,7 @@ StartScan:
PAGE_EXECUTE, PAGE_EXECUTE,
SEC_IMAGE, SEC_IMAGE,
FileHandle); FileHandle);
DPRINT1("Section status: %lx\n", Status); DPRINT("Section status: %lx\n", Status);
if (NT_SUCCESS(Status)) if (NT_SUCCESS(Status))
{ {
/* Are we running on Windows Embedded, Datacenter, Blade or Starter? */ /* Are we running on Windows Embedded, Datacenter, Blade or Starter? */