diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /public/sdk/inc/ntsdexts.h | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'public/sdk/inc/ntsdexts.h')
-rw-r--r-- | public/sdk/inc/ntsdexts.h | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/public/sdk/inc/ntsdexts.h b/public/sdk/inc/ntsdexts.h new file mode 100644 index 000000000..396033631 --- /dev/null +++ b/public/sdk/inc/ntsdexts.h @@ -0,0 +1,88 @@ +/*++ BUILD Version: 0001 // Increment this if a change has global effects + +Copyright (c) 1990-1996 Microsoft Corporation + +Module Name: + + ntsdexts.h + +Abstract: + + This file contains procedure prototypes and structures + needed to write NTSD and KD debugger extensions. + +Environment: + + runs in the Win32 NTSD debug environment. + +Revision History: + +--*/ + +#ifndef _NTSDEXTNS_ +#define _NTSDEXTNS_ + +#ifdef __cplusplus +extern "C" { +#endif + +typedef +VOID +(*PNTSD_OUTPUT_ROUTINE)( + char *, + ... + ); + +typedef +DWORD +(*PNTSD_GET_EXPRESSION)( + char * + ); + +typedef +VOID +(*PNTSD_GET_SYMBOL)( + LPVOID offset, + PUCHAR pchBuffer, + LPDWORD pDisplacement + ); + +typedef +DWORD +(*PNTSD_DISASM)( + LPDWORD lpOffset, + LPSTR lpBuffer, + BOOL fShowEfeectiveAddress + ); + +typedef +BOOL +(*PNTSD_CHECK_CONTROL_C)( + VOID + ); + +typedef struct _NTSD_EXTENSION_APIS { + DWORD nSize; + PNTSD_OUTPUT_ROUTINE lpOutputRoutine; + PNTSD_GET_EXPRESSION lpGetExpressionRoutine; + PNTSD_GET_SYMBOL lpGetSymbolRoutine; + PNTSD_DISASM lpDisasmRoutine; + PNTSD_CHECK_CONTROL_C lpCheckControlCRoutine; +} NTSD_EXTENSION_APIS, *PNTSD_EXTENSION_APIS; + +typedef +VOID +(*PNTSD_EXTENSION_ROUTINE)( + HANDLE hCurrentProcess, + HANDLE hCurrentThread, + DWORD dwCurrentPc, + PNTSD_EXTENSION_APIS lpExtensionApis, + LPSTR lpArgumentString + ); + +#ifdef __cplusplus +} +#endif + + +#endif // _NTSDEXTNS_ |