mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 06:25:49 +00:00
[KERNEL32]: Formatting fixes (whitespace...) only.
svn path=/trunk/; revision=71768
This commit is contained in:
parent
12df37e35b
commit
1feab2643f
2 changed files with 239 additions and 241 deletions
|
@ -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))
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue