Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

108 lines
1.9 KiB

  1. /*++
  2. Copyright (c) 1989 Microsoft Corporation
  3. Module Name:
  4. dbgdllp.h
  5. Abstract:
  6. Debug Subsystem Dll Private Types and Prototypes
  7. Author:
  8. Mark Lucovsky (markl) 22-Jan-1990
  9. Revision History:
  10. --*/
  11. #ifndef _DBGDLLP_
  12. #define _DBGDLLP_
  13. #include <nt.h>
  14. #include <ntrtl.h>
  15. #include <nturtl.h>
  16. #include <ntsm.h>
  17. #define NOEXTAPI
  18. #include <wdbgexts.h>
  19. #include <ntdbg.h>
  20. //
  21. // DbgSs Private Dll Prototypes and variables
  22. //
  23. HANDLE DbgSspApiPort;
  24. HANDLE DbgSspKmReplyPort;
  25. PDBGSS_UI_LOOKUP DbgSspUiLookUpRoutine;
  26. PDBGSS_SUBSYSTEMKEY_LOOKUP DbgSspSubsystemKeyLookupRoutine;
  27. PDBGSS_DBGKM_APIMSG_FILTER DbgSspKmApiMsgFilter;
  28. typedef struct _DBGSS_CONTINUE_KEY {
  29. DBGKM_APIMSG KmApiMsg;
  30. HANDLE ReplyEvent;
  31. } DBGSS_CONTINUE_KEY, *PDBGSS_CONTINUE_KEY;
  32. NTSTATUS
  33. DbgSspConnectToDbg( VOID );
  34. NTSTATUS
  35. DbgSspSrvApiLoop(
  36. IN PVOID ThreadParameter
  37. );
  38. NTSTATUS
  39. DbgSspCreateProcess (
  40. IN PDBGSS_CONTINUE_KEY ContinueKey,
  41. IN PCLIENT_ID AppClientId,
  42. IN PCLIENT_ID DebugUiClientId,
  43. IN PDBGKM_CREATE_PROCESS NewProcess
  44. );
  45. NTSTATUS
  46. DbgSspCreateThread (
  47. IN PDBGSS_CONTINUE_KEY ContinueKey,
  48. IN PCLIENT_ID AppClientId,
  49. IN PDBGKM_CREATE_THREAD NewThread
  50. );
  51. NTSTATUS
  52. DbgSspExitThread (
  53. IN PDBGSS_CONTINUE_KEY ContinueKey,
  54. IN PCLIENT_ID AppClientId,
  55. IN PDBGKM_EXIT_THREAD ExitThread
  56. );
  57. NTSTATUS
  58. DbgSspExitProcess (
  59. IN PDBGSS_CONTINUE_KEY ContinueKey,
  60. IN PCLIENT_ID AppClientId,
  61. IN PDBGKM_EXIT_PROCESS ExitProcess
  62. );
  63. NTSTATUS
  64. DbgSspException (
  65. IN PDBGSS_CONTINUE_KEY ContinueKey,
  66. IN PCLIENT_ID AppClientId,
  67. IN PDBGKM_EXCEPTION Exception
  68. );
  69. NTSTATUS
  70. DbgSspLoadDll (
  71. IN PDBGSS_CONTINUE_KEY ContinueKey,
  72. IN PCLIENT_ID AppClientId,
  73. IN PDBGKM_LOAD_DLL LoadDll
  74. );
  75. NTSTATUS
  76. DbgSspUnloadDll (
  77. IN PDBGSS_CONTINUE_KEY ContinueKey,
  78. IN PCLIENT_ID AppClientId,
  79. IN PDBGKM_UNLOAD_DLL UnloadDll
  80. );
  81. #endif // _DBGDLLP_