mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 04:45:45 +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 */
|
/* Check if the process has a debug object/port */
|
||||||
Status = NtQueryInformationProcess(hProcess,
|
Status = NtQueryInformationProcess(hProcess,
|
||||||
ProcessDebugPort,
|
ProcessDebugPort,
|
||||||
(PVOID)&DebugPort,
|
&DebugPort,
|
||||||
sizeof(HANDLE),
|
sizeof(DebugPort),
|
||||||
NULL);
|
NULL);
|
||||||
if (NT_SUCCESS(Status))
|
if (NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* FILE: dll/win32/kernel32/client/except.c
|
* FILE: dll/win32/kernel32/client/except.c
|
||||||
* PURPOSE: Exception functions
|
* PURPOSE: Exception functions
|
||||||
* PROGRAMMER: Ariadne (ariadne@xs4all.nl)
|
* 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:
|
* UPDATE HISTORY:
|
||||||
* Created 01/11/98
|
* Created 01/11/98
|
||||||
*/
|
*/
|
||||||
|
@ -74,14 +74,14 @@ _dump_context(PCONTEXT pc)
|
||||||
}
|
}
|
||||||
|
|
||||||
static VOID
|
static VOID
|
||||||
PrintStackTrace(struct _EXCEPTION_POINTERS *ExceptionInfo)
|
PrintStackTrace(IN PEXCEPTION_POINTERS ExceptionInfo)
|
||||||
{
|
{
|
||||||
PVOID StartAddr;
|
PVOID StartAddr;
|
||||||
CHAR szMod[128] = "";
|
CHAR szMod[128] = "";
|
||||||
PEXCEPTION_RECORD ExceptionRecord = ExceptionInfo->ExceptionRecord;
|
PEXCEPTION_RECORD ExceptionRecord = ExceptionInfo->ExceptionRecord;
|
||||||
PCONTEXT ContextRecord = ExceptionInfo->ContextRecord;
|
PCONTEXT ContextRecord = ExceptionInfo->ContextRecord;
|
||||||
|
|
||||||
/* Print a stack trace. */
|
/* Print a stack trace */
|
||||||
DbgPrint("Unhandled exception\n");
|
DbgPrint("Unhandled exception\n");
|
||||||
DbgPrint("ExceptionCode: %8x\n", ExceptionRecord->ExceptionCode);
|
DbgPrint("ExceptionCode: %8x\n", ExceptionRecord->ExceptionCode);
|
||||||
|
|
||||||
|
@ -368,9 +368,7 @@ RaiseException(IN DWORD dwExceptionCode,
|
||||||
{
|
{
|
||||||
/* We do, normalize the count */
|
/* We do, normalize the count */
|
||||||
if (nNumberOfArguments > EXCEPTION_MAXIMUM_PARAMETERS)
|
if (nNumberOfArguments > EXCEPTION_MAXIMUM_PARAMETERS)
|
||||||
{
|
|
||||||
nNumberOfArguments = EXCEPTION_MAXIMUM_PARAMETERS;
|
nNumberOfArguments = EXCEPTION_MAXIMUM_PARAMETERS;
|
||||||
}
|
|
||||||
|
|
||||||
/* Set the count of parameters and copy them */
|
/* Set the count of parameters and copy them */
|
||||||
ExceptionRecord.NumberParameters = nNumberOfArguments;
|
ExceptionRecord.NumberParameters = nNumberOfArguments;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue