[KERNEL32]: Formatting fixes (whitespace...) only.

svn path=/trunk/; revision=71768
This commit is contained in:
Hermès Bélusca-Maïto 2016-07-02 20:52:25 +00:00
parent 12df37e35b
commit 1feab2643f
2 changed files with 239 additions and 241 deletions

View file

@ -425,8 +425,8 @@ CheckRemoteDebuggerPresent(IN HANDLE hProcess,
/* Check if the process has a debug object/port */
Status = NtQueryInformationProcess(hProcess,
ProcessDebugPort,
(PVOID)&DebugPort,
sizeof(HANDLE),
&DebugPort,
sizeof(DebugPort),
NULL);
if (NT_SUCCESS(Status))
{

View file

@ -4,7 +4,7 @@
* FILE: dll/win32/kernel32/client/except.c
* PURPOSE: Exception functions
* PROGRAMMER: Ariadne (ariadne@xs4all.nl)
* modified from WINE [ Onno Hovers, (onno@stack.urc.tue.nl) ]
* Modified from WINE [ Onno Hovers, (onno@stack.urc.tue.nl) ]
* UPDATE HISTORY:
* Created 01/11/98
*/
@ -74,14 +74,14 @@ _dump_context(PCONTEXT pc)
}
static VOID
PrintStackTrace(struct _EXCEPTION_POINTERS *ExceptionInfo)
PrintStackTrace(IN PEXCEPTION_POINTERS ExceptionInfo)
{
PVOID StartAddr;
CHAR szMod[128] = "";
PEXCEPTION_RECORD ExceptionRecord = ExceptionInfo->ExceptionRecord;
PCONTEXT ContextRecord = ExceptionInfo->ContextRecord;
/* Print a stack trace. */
/* Print a stack trace */
DbgPrint("Unhandled exception\n");
DbgPrint("ExceptionCode: %8x\n", ExceptionRecord->ExceptionCode);
@ -368,9 +368,7 @@ RaiseException(IN DWORD dwExceptionCode,
{
/* We do, normalize the count */
if (nNumberOfArguments > EXCEPTION_MAXIMUM_PARAMETERS)
{
nNumberOfArguments = EXCEPTION_MAXIMUM_PARAMETERS;
}
/* Set the count of parameters and copy them */
ExceptionRecord.NumberParameters = nNumberOfArguments;