From a7acccff70a19a149dfedf7cd74b0aa7573b26ac Mon Sep 17 00:00:00 2001 From: Emanuele Aliberti Date: Tue, 2 Aug 2005 16:11:13 +0000 Subject: [PATCH] Modify NTDLL!DbgSsInitialize/4 signature. svn path=/trunk/; revision=16972 --- reactos/include/ndk/umfuncs.h | 2 +- reactos/lib/ntdll/dbg/debug.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/reactos/include/ndk/umfuncs.h b/reactos/include/ndk/umfuncs.h index ab9e013f53b..3390714d8d7 100644 --- a/reactos/include/ndk/umfuncs.h +++ b/reactos/include/ndk/umfuncs.h @@ -99,7 +99,7 @@ NTSTATUS STDCALL DbgSsInitialize( HANDLE ReplyPort, - ULONG Unknown1, + PVOID Callback, ULONG Unknown2, ULONG Unknown3 ); diff --git a/reactos/lib/ntdll/dbg/debug.c b/reactos/lib/ntdll/dbg/debug.c index 9ac2807fdff..1f7185bb551 100644 --- a/reactos/lib/ntdll/dbg/debug.c +++ b/reactos/lib/ntdll/dbg/debug.c @@ -19,6 +19,7 @@ static HANDLE DbgSsApiPort = NULL; static HANDLE DbgSsReplyPort = NULL; +static NTSTATUS (STDCALL * DbgSsCallback)(PVOID,PVOID) = NULL; typedef struct _LPC_DBGSS_MESSAGE @@ -77,7 +78,7 @@ DbgSsHandleKmApiMsg(ULONG Unknown1, */ NTSTATUS STDCALL DbgSsInitialize(HANDLE ReplyPort, - ULONG Unknown1, + PVOID Callback, ULONG Unknown2, ULONG Unknown3) { @@ -102,7 +103,7 @@ DbgSsInitialize(HANDLE ReplyPort, return Status; DbgSsReplyPort = ReplyPort; -// UnknownData1 = Unknown1; + DbgSsCallback = Callback; // UnknownData2 = Unknown2; // UnknownData3 = Unknown3;