mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
1.3 KiB
71 lines
1.3 KiB
/**********************************************************************/
|
|
/** Microsoft Windows NT **/
|
|
/** Copyright(c) Microsoft Corp., 1991 **/
|
|
/**********************************************************************/
|
|
|
|
/*
|
|
w3dbg.h
|
|
This include file contains the prototypes & manifest constants
|
|
used by the W3 Server debugger extension DLL.
|
|
|
|
|
|
FILE HISTORY:
|
|
KeithMo 18-May-1993 Created.
|
|
|
|
*/
|
|
|
|
|
|
#ifndef _W3DBG_H_
|
|
#define _W3DBG_H_
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif // __cplusplus
|
|
|
|
|
|
#include <nt.h>
|
|
#include <ntrtl.h>
|
|
#include <nturtl.h>
|
|
#include <windows.h>
|
|
#include <ntsdexts.h>
|
|
#include <wdbgexts.h>
|
|
|
|
#include <w3p.h>
|
|
|
|
|
|
//
|
|
// Globals shared by all extension commands.
|
|
//
|
|
|
|
extern PNTSD_OUTPUT_ROUTINE DebugPrint;
|
|
extern PNTSD_GET_EXPRESSION DebugEval;
|
|
extern PNTSD_GET_SYMBOL DebugGetSymbol;
|
|
extern PNTSD_DISASM DebugDisassem;
|
|
extern PNTSD_CHECK_CONTROL_C DebugCheckCtrlC;
|
|
|
|
|
|
//
|
|
// Utility functions.
|
|
//
|
|
|
|
VOID GrabDebugApis( LPVOID lpExtensionApis );
|
|
|
|
|
|
//
|
|
// DLL entrypoint.
|
|
//
|
|
//
|
|
|
|
BOOLEAN W3DbgDllInitialize( HANDLE hDll,
|
|
DWORD nReason,
|
|
LPVOID pReserved );
|
|
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif // __cplusplus
|
|
|
|
|
|
#endif // _W3DBG_H_
|
|
|