summaryrefslogtreecommitdiffstats
path: root/private/ntos/dbgk/dbgkp.h
blob: 52b511f6ef938fdb54b56b4177f24feff513bf52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*++

Copyright (c) 1989  Microsoft Corporation

Module Name:

    dbgkp.h

Abstract:

    This header file describes private data structures and functions
    that make up the kernel mode portion of the Dbg subsystem.

Author:

    Mark Lucovsky (markl) 19-Jan-1990

[Environment:]

    optional-environment-info (e.g. kernel mode only...)

[Notes:]

    optional-notes

Revision History:

--*/

#ifndef _DBGKP_
#define _DBGKP_

#include "ntos.h"
#include "ntdbg.h"
#include <zwapi.h>
#include <string.h>

NTSTATUS
DbgkpSendApiMessage(
    IN OUT PDBGKM_APIMSG ApiMsg,
    IN PVOID Port,
    IN BOOLEAN SuspendProcess
    );

VOID
DbgkpSuspendProcess(
    IN BOOLEAN CreateDeleteLockHeld
    );

VOID
DbgkpResumeProcess(
    IN BOOLEAN CreateDeleteLockHeld
    );

HANDLE
DbgkpSectionHandleToFileHandle(
    IN HANDLE SectionHandle
    );

#endif // _DBGKP_