ReactOS
0.4.16-dev-334-g4d9f67c
vdmdbg.h
Go to the documentation of this file.
1
#include <stdarg.h>
2
#include <
windef.h
>
3
#include <
winbase.h
>
4
5
#define MAX_PATH16 255
6
#define MAX_MODULE_NAME 9
7
8
ULONG
DbgPrint
(
PCCH
Format
,...);
9
10
typedef
struct
_CONTEXT
VDMCONTEXT
;
11
typedef
VDMCONTEXT
*
LPVDMCONTEXT
;
12
13
typedef
struct
_VDM_SEGINFO
{
14
WORD
Selector
;
15
WORD
SegNumber
;
16
DWORD
Length
;
17
WORD
Type
;
18
CHAR
ModuleName
[
MAX_MODULE_NAME
];
19
CHAR
FileName
[
MAX_PATH16
];
20
}
VDM_SEGINFO
;
21
22
typedef
struct
{
23
DWORD
dwSize
;
24
char
szModule[
MAX_MODULE_NAME
+1];
25
HANDLE
hModule
;
26
WORD
wcUsage
;
27
char
szExePath[
MAX_PATH16
+1];
28
WORD
wNext
;
29
}
MODULEENTRY
, *
LPMODULEENTRY
;
30
31
typedef
BOOL
(
WINAPI
*PROCESSENUMPROC )
32
(
33
DWORD
dwProcessId,
34
DWORD
dwAttributes
,
35
LPARAM
lpUserDefined
36
);
37
38
typedef
BOOL
(
WINAPI
*TASKENUMPROCEX )
39
(
40
DWORD
dwThreadId
,
41
WORD
hMod16
,
42
WORD
hTask16
,
43
PSZ
pszModName
,
44
PSZ
pszFileName
,
45
LPARAM
lpUserDefined
46
);
47
48
typedef
struct
{
49
DWORD
dwSize
;
50
DWORD
dwAddress
;
51
DWORD
dwBlockSize
;
52
HANDLE
hBlock
;
53
WORD
wcLock
;
54
WORD
wcPageLock
;
55
WORD
wFlags
;
56
BOOL
wHeapPresent
;
57
HANDLE
hOwner
;
58
WORD
wType
;
59
WORD
wData
;
60
DWORD
dwNext
;
61
DWORD
dwNextAlt
;
62
}
GLOBALENTRY
, *
LPGLOBALENTRY
;
63
64
typedef
DWORD
(
CALLBACK
* DEBUGEVENTPROC )
65
(
LPDEBUG_EVENT
,
LPVOID
);
66
67
typedef
BOOL
(
WINAPI
*TASKENUMPROC )
68
(
DWORD
dwThreadId
,
69
WORD
hMod16
,
70
WORD
hTask16
,
71
LPARAM
lpUserDefined
);
72
73
extern
HINSTANCE
hDllInstance
;
74
75
/* EOF */
LPDEBUG_EVENT
SIZE_T LPDEBUG_EVENT
Definition:
cordebug.idl:83
CALLBACK
#define CALLBACK
Definition:
compat.h:35
dwThreadId
DWORD dwThreadId
Definition:
fdebug.c:31
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
DWORD
unsigned long DWORD
Definition:
ntddk_ex.h:95
WORD
unsigned short WORD
Definition:
ntddk_ex.h:93
DbgPrint
#define DbgPrint
Definition:
hal.h:12
void
Definition:
nsiface.idl:2307
BOOL
#define BOOL
Definition:
nt_native.h:43
DWORD
#define DWORD
Definition:
nt_native.h:44
PCCH
CONST CHAR * PCCH
Definition:
ntbasedef.h:400
Format
Definition:
imaadp32.c:62
GLOBALENTRY
Definition:
vdmdbg.h:48
GLOBALENTRY::wHeapPresent
BOOL wHeapPresent
Definition:
vdmdbg.h:56
GLOBALENTRY::wcLock
WORD wcLock
Definition:
vdmdbg.h:53
GLOBALENTRY::dwAddress
DWORD dwAddress
Definition:
vdmdbg.h:50
GLOBALENTRY::wData
WORD wData
Definition:
vdmdbg.h:59
GLOBALENTRY::dwNextAlt
DWORD dwNextAlt
Definition:
vdmdbg.h:61
GLOBALENTRY::dwBlockSize
DWORD dwBlockSize
Definition:
vdmdbg.h:51
GLOBALENTRY::dwSize
DWORD dwSize
Definition:
vdmdbg.h:49
GLOBALENTRY::hOwner
HANDLE hOwner
Definition:
vdmdbg.h:57
GLOBALENTRY::wType
WORD wType
Definition:
vdmdbg.h:58
GLOBALENTRY::dwNext
DWORD dwNext
Definition:
vdmdbg.h:60
GLOBALENTRY::hBlock
HANDLE hBlock
Definition:
vdmdbg.h:52
GLOBALENTRY::wcPageLock
WORD wcPageLock
Definition:
vdmdbg.h:54
GLOBALENTRY::wFlags
WORD wFlags
Definition:
vdmdbg.h:55
MODULEENTRY
Definition:
vdmdbg.h:22
MODULEENTRY::wNext
WORD wNext
Definition:
vdmdbg.h:28
MODULEENTRY::wcUsage
WORD wcUsage
Definition:
vdmdbg.h:26
MODULEENTRY::hModule
HANDLE hModule
Definition:
vdmdbg.h:25
MODULEENTRY::dwSize
DWORD dwSize
Definition:
vdmdbg.h:23
_CONTEXT
Definition:
nt_native.h:1406
_FileName
Definition:
filecomp.c:348
_VDM_SEGINFO
Definition:
vdmdbg.h:13
_VDM_SEGINFO::SegNumber
WORD SegNumber
Definition:
vdmdbg.h:15
_VDM_SEGINFO::ModuleName
CHAR ModuleName[MAX_MODULE_NAME]
Definition:
vdmdbg.h:18
_VDM_SEGINFO::Length
DWORD Length
Definition:
vdmdbg.h:16
_VDM_SEGINFO::Type
WORD Type
Definition:
vdmdbg.h:17
_VDM_SEGINFO::Selector
WORD Selector
Definition:
vdmdbg.h:14
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
pszModName
WORD WORD PSZ pszModName
Definition:
vdmdbg.h:43
dwAttributes
DWORD dwAttributes
Definition:
vdmdbg.h:34
LPMODULEENTRY
struct MODULEENTRY * LPMODULEENTRY
VDM_SEGINFO
struct _VDM_SEGINFO VDM_SEGINFO
LPVDMCONTEXT
VDMCONTEXT * LPVDMCONTEXT
Definition:
vdmdbg.h:11
lpUserDefined
DWORD LPARAM lpUserDefined
Definition:
vdmdbg.h:36
hMod16
WORD hMod16
Definition:
vdmdbg.h:41
pszFileName
WORD WORD PSZ PSZ pszFileName
Definition:
vdmdbg.h:44
hTask16
WORD WORD hTask16
Definition:
vdmdbg.h:42
LPGLOBALENTRY
struct GLOBALENTRY * LPGLOBALENTRY
MAX_PATH16
#define MAX_PATH16
Definition:
vdmdbg.h:5
MAX_MODULE_NAME
#define MAX_MODULE_NAME
Definition:
vdmdbg.h:6
LPVOID
typedef LPVOID
Definition:
vdmdbg.h:65
hDllInstance
HINSTANCE hDllInstance
Definition:
browser.c:17
winbase.h
windef.h
LPARAM
LONG_PTR LPARAM
Definition:
windef.h:208
PSZ
char * PSZ
Definition:
windef.h:57
WINAPI
#define WINAPI
Definition:
msvc.h:6
CHAR
char CHAR
Definition:
xmlstorage.h:175
subsystems
mvdm
vdmdbg
vdmdbg.h
Generated on Mon Dec 9 2024 06:14:33 for ReactOS by
1.9.6