ReactOS  0.4.15-dev-4917-g934e521
vdmdbg.c
Go to the documentation of this file.
1 #include "vdmdbg.h"
2 
3 #define NDEBUG
4 #include <debug.h>
5 
7 
10 {
12  return FALSE;
13 }
14 
16 {
19 }
20 
22 {
24  return FALSE;
25 }
26 
28  HANDLE handle2,
29  WORD wSelector,
31  BOOL fProtMode )
32 {
35 }
36 
38 {
40  return FALSE;
41 }
42 
44  ULONG ulong,
45  BOOL boolVal,
46  VDM_SEGINFO *pVDMSegInfo )
47 {
49  return FALSE;
50 }
51 
52 
54  DWORD dwFlags )
55 {
57  return FALSE;
58 }
59 
61 {
63  return FALSE;
64 }
65 
67  TASKENUMPROC TaskEnumProc,
68  LPARAM lParam )
69 {
72 }
73 
75  LPSTR lpCommandLine,
76  WORD wShow )
77 {
79  return FALSE;
80 }
81 
83 {
85  return FALSE;
86 }
87 
88 INT WINAPI VDMEnumProcessWOW( PROCESSENUMPROC ProcessEnumProc,
89  LPARAM lParam )
90 {
93 }
94 
95 
97  TASKENUMPROCEX TaskEnumProcEx,
98  LPARAM lParam )
99 {
102 }
103 
105  WORD hTask )
106 {
108  return FALSE;
109 }
110 
112  HANDLE handle2,
113  LPVDMCONTEXT lpVDMContext )
114 {
116  return FALSE;
117 }
118 
120  HANDLE handle2,
121  LPVDMCONTEXT lpVDMContext)
122 {
124  return FALSE;
125 }
126 
127 
129  HANDLE handle2,
130  WORD word,
131  PUINT punit,
132  LPSTR lpModuleName,
133  UINT uInt,
134  LPSTR lpstr,
135  UINT uInt2 )
136 {
138  return FALSE;
139 }
140 
141 
143  HANDLE handle2,
144  UINT uInt,
145  LPSTR lpModuleName,
146  LPWORD lpword )
147 {
149  return FALSE;
150 }
151 
153  HANDLE handle2,
154  LPMODULEENTRY lpModuleEntry,
155  DEBUGEVENTPROC lpDebugEventProc,
156  LPVOID lpvoid )
157 {
159  return FALSE;
160 }
161 
163  HANDLE handle2,
164  LPGLOBALENTRY lpGlobalEntry,
165  WORD word,
166  DEBUGEVENTPROC lpDebugEventProc,
167  LPVOID lpvoid )
168 {
170  return FALSE;
171 }
172 
174  HANDLE handle2,
175  LPGLOBALENTRY lpGlobalEntry,
176  WORD word,
177  DEBUGEVENTPROC lpDebugEventProc,
178  LPVOID lpvoid )
179 {
181  return FALSE;
182 }
183 
185  HANDLE handle2,
186  LPMODULEENTRY lpModuleEntry,
187  DEBUGEVENTPROC lpDebugEventProc,
188  LPVOID lpvoid )
189 {
191  return FALSE;
192 }
193 
194 BOOL WINAPI
195 DllMain( IN HINSTANCE hinstDLL,
196  IN DWORD dwReason,
198 {
199  switch (dwReason)
200  {
201  case DLL_PROCESS_ATTACH:
202  hDllInstance = hinstDLL;
204  /* Don't break, initialize first thread */
205  case DLL_THREAD_ATTACH:
206  break;
207  case DLL_THREAD_DETACH:
208  break;
209  case DLL_PROCESS_DETACH:
210  break;
211  }
212  return TRUE;
213 }
214 
INT WINAPI VDMEnumProcessWOW(PROCESSENUMPROC ProcessEnumProc, LPARAM lParam)
Definition: vdmdbg.c:88
#define IN
Definition: typedefs.h:39
BOOL WINAPI VDMDetectWOW(void)
Definition: vdmdbg.c:60
#define TRUE
Definition: types.h:120
#define DLL_THREAD_ATTACH
Definition: compat.h:132
HINSTANCE hDllInstance
Definition: vdmdbg.c:6
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
_In_ BOOL _In_ HANDLE hProcess
Definition: mapping.h:70
BOOL WINAPI VDMStartTaskInWOW(DWORD dwProcessId, LPSTR lpCommandLine, WORD wShow)
Definition: vdmdbg.c:74
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
BOOL WINAPI VDMGlobalFirst(HANDLE handle, HANDLE handle2, LPGLOBALENTRY lpGlobalEntry, WORD word, DEBUGEVENTPROC lpDebugEventProc, LPVOID lpvoid)
Definition: vdmdbg.c:162
BOOL WINAPI VDMSetContext(HANDLE handle, HANDLE handle2, LPVDMCONTEXT lpVDMContext)
Definition: vdmdbg.c:119
char * LPSTR
Definition: xmlstorage.h:182
BOOL WINAPI DllMain(IN HINSTANCE hinstDLL, IN DWORD dwReason, IN LPVOID lpvReserved)
Definition: vdmdbg.c:195
int32_t INT
Definition: typedefs.h:58
#define DLL_THREAD_DETACH
Definition: compat.h:133
static IN DWORD IN LPVOID lpvReserved
BOOL WINAPI VDMKillWOW(VOID)
Definition: vdmdbg.c:82
BOOL WINAPI VDMIsModuleLoaded(LPSTR szPath)
Definition: vdmdbg.c:21
_In_ DWORD _In_ DWORD dwOffset
Definition: ntgdi.h:2032
DWORD dwReason
Definition: misc.cpp:154
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
INT WINAPI VDMEnumTaskWOW(DWORD dword, TASKENUMPROC TaskEnumProc, LPARAM lParam)
Definition: vdmdbg.c:66
BOOL WINAPI VDMBreakThread(HANDLE hProcess, HANDLE hThread)
Definition: vdmdbg.c:8
SIZE_T LPDEBUG_EVENT
Definition: cordebug.idl:83
LONG_PTR LPARAM
Definition: windef.h:208
BOOL WINAPI VDMGetSegmentInfo(WORD word, ULONG ulong, BOOL boolVal, VDM_SEGINFO *pVDMSegInfo)
Definition: vdmdbg.c:43
#define DLL_PROCESS_DETACH
Definition: compat.h:130
#define WINAPI
Definition: msvc.h:6
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
BOOL WINAPI VDMProcessException(LPDEBUG_EVENT lpDebugEvent)
Definition: vdmdbg.c:37
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
BOOL WINAPI VDMGetModuleSelector(HANDLE handle, HANDLE handle2, UINT uInt, LPSTR lpModuleName, LPWORD lpword)
Definition: vdmdbg.c:142
BOOL WINAPI VDMGetContext(HANDLE handle, HANDLE handle2, LPVDMCONTEXT lpVDMContext)
Definition: vdmdbg.c:111
uint16_t * LPWORD
Definition: typedefs.h:56
unsigned long ulong
Definition: linux.h:275
BOOL WINAPI VDMSetDbgFlags(HANDLE hProcess, DWORD dwFlags)
Definition: vdmdbg.c:53
unsigned int uInt
Definition: zlib.h:38
DWORD WINAPI VDMGetDbgFlags(HANDLE hProcess)
Definition: vdmdbg.c:15
LPCWSTR szPath
Definition: env.c:37
INT WINAPI VDMEnumTaskWOWEx(DWORD dwProcessId, TASKENUMPROCEX TaskEnumProcEx, LPARAM lParam)
Definition: vdmdbg.c:96
ULONG WINAPI VDMGetPointer(HANDLE handle, HANDLE handle2, WORD wSelector, DWORD dwOffset, BOOL fProtMode)
Definition: vdmdbg.c:27
unsigned int UINT
Definition: ndis.h:50
BOOL WINAPI VDMTerminateTaskWOW(DWORD dwProcessId, WORD hTask)
Definition: vdmdbg.c:104
HANDLE hThread
Definition: wizard.c:28
const WCHAR * word
Definition: lex.c:36
unsigned int ULONG
Definition: retypes.h:1
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:102
#define UNIMPLEMENTED
Definition: debug.h:115
BOOL WINAPI VDMModuleNext(HANDLE handle, HANDLE handle2, LPMODULEENTRY lpModuleEntry, DEBUGEVENTPROC lpDebugEventProc, LPVOID lpvoid)
Definition: vdmdbg.c:184
static LPCSTR lpstr
Definition: font.c:51
BOOL WINAPI VDMGlobalNext(HANDLE handle, HANDLE handle2, LPGLOBALENTRY lpGlobalEntry, WORD word, DEBUGEVENTPROC lpDebugEventProc, LPVOID lpvoid)
Definition: vdmdbg.c:173
BOOL WINAPI VDMGetSelectorModule(HANDLE handle, HANDLE handle2, WORD word, PUINT punit, LPSTR lpModuleName, UINT uInt, LPSTR lpstr, UINT uInt2)
Definition: vdmdbg.c:128
BOOL WINAPI VDMModuleFirst(HANDLE handle, HANDLE handle2, LPMODULEENTRY lpModuleEntry, DEBUGEVENTPROC lpDebugEventProc, LPVOID lpvoid)
Definition: vdmdbg.c:152
LPARAM lParam
Definition: combotst.c:139
unsigned int * PUINT
Definition: ndis.h:50