source: trunk/src/kernel32/oslibdebug.h@ 22018

Last change on this file since 22018 was 9617, checked in by sandervl, 23 years ago

added dll load hook and function to override named or ordinal exports

File size: 753 bytes
Line 
1/* $Id: oslibdebug.h,v 1.3 2003-01-05 12:31:23 sandervl Exp $ */
2
3/*
4 * OS/2 debug apis
5 *
6 * Copyright 1999 Edgar Buerkle
7 *
8 *
9 * Project Odin Software License can be found in LICENSE.TXT
10 *
11 */
12#ifndef __OSLIBDEBUG_H__
13#define __OSLIBDEBUG_H__
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19#ifndef PAGE_SIZE
20#define PAGE_SIZE 4096
21#endif
22
23//Debug apis
24VOID OSLibStartDebugger(ULONG *pid);
25BOOL OSLibContinueDebugEvent(DWORD dwProcessId, DWORD dwThreadId, DWORD dwContinueStatus);
26BOOL OSLibWaitForDebugEvent(LPDEBUG_EVENT lpde, DWORD dwTimeout);
27VOID OSLibDebugReadMemory(LPCVOID lpBaseAddress,LPVOID lpBuffer, DWORD cbRead, LPDWORD lpNumberOfBytesRead);
28BOOL OSLibAddWin32Event(LPDEBUG_EVENT lpde);
29
30#ifdef __cplusplus
31}
32#endif
33
34#endif //__OSLIBDEBUG_H__
Note: See TracBrowser for help on using the repository browser.