00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
#ifndef _DBGDLLP_
00022
#define _DBGDLLP_
00023
00024
#include <nt.h>
00025
#include <ntrtl.h>
00026
#include <nturtl.h>
00027
#include <ntsm.h>
00028 #define NOEXTAPI
00029
#include <wdbgexts.h>
00030
#include <ntdbg.h>
00031
00032
00033
00034
00035
00036
00037
00038 HANDLE
DbgSspApiPort;
00039 HANDLE
DbgSspKmReplyPort;
00040 PDBGSS_UI_LOOKUP
DbgSspUiLookUpRoutine;
00041 PDBGSS_SUBSYSTEMKEY_LOOKUP
DbgSspSubsystemKeyLookupRoutine;
00042 PDBGSS_DBGKM_APIMSG_FILTER
DbgSspKmApiMsgFilter;
00043
00044 typedef struct _DBGSS_CONTINUE_KEY {
00045 DBGKM_APIMSG
KmApiMsg;
00046 HANDLE
ReplyEvent;
00047 }
DBGSS_CONTINUE_KEY, *
PDBGSS_CONTINUE_KEY;
00048
00049
00050
NTSTATUS
00051
DbgSspConnectToDbg( VOID );
00052
00053
NTSTATUS
00054
DbgSspSrvApiLoop(
00055 IN PVOID ThreadParameter
00056 );
00057
00058
NTSTATUS
00059
DbgSspCreateProcess (
00060 IN PDBGSS_CONTINUE_KEY ContinueKey,
00061 IN PCLIENT_ID AppClientId,
00062 IN PCLIENT_ID DebugUiClientId,
00063 IN PDBGKM_CREATE_PROCESS NewProcess
00064 );
00065
00066
NTSTATUS
00067
DbgSspCreateThread (
00068 IN PDBGSS_CONTINUE_KEY ContinueKey,
00069 IN PCLIENT_ID AppClientId,
00070 IN PDBGKM_CREATE_THREAD NewThread
00071 );
00072
00073
NTSTATUS
00074
DbgSspExitThread (
00075 IN PDBGSS_CONTINUE_KEY ContinueKey,
00076 IN PCLIENT_ID AppClientId,
00077 IN PDBGKM_EXIT_THREAD ExitThread
00078 );
00079
00080
NTSTATUS
00081
DbgSspExitProcess (
00082 IN PDBGSS_CONTINUE_KEY ContinueKey,
00083 IN PCLIENT_ID AppClientId,
00084 IN PDBGKM_EXIT_PROCESS ExitProcess
00085 );
00086
00087
NTSTATUS
00088
DbgSspException (
00089 IN PDBGSS_CONTINUE_KEY ContinueKey,
00090 IN PCLIENT_ID AppClientId,
00091 IN PDBGKM_EXCEPTION Exception
00092 );
00093
00094
NTSTATUS
00095
DbgSspLoadDll (
00096 IN PDBGSS_CONTINUE_KEY ContinueKey,
00097 IN PCLIENT_ID AppClientId,
00098 IN PDBGKM_LOAD_DLL LoadDll
00099 );
00100
00101
NTSTATUS
00102
DbgSspUnloadDll (
00103 IN PDBGSS_CONTINUE_KEY ContinueKey,
00104 IN PCLIENT_ID AppClientId,
00105 IN PDBGKM_UNLOAD_DLL UnloadDll
00106 );
00107
00108
#endif // _DBGDLLP_