KDPatchDevice Class Reference

Device object for the KDPATCH driver. More...

Collaboration diagram for KDPatchDevice:

List of all members.

Public Member Functions

 KDPatchDevice ()
 Locates and patches packet-related functions in KDCOM.DLL.
bool IsPatchingSuccessful ()
 Returns whether the KDCOM.DLL patching was successful.
 ~KDPatchDevice ()
 Restores the original state of KDCOM.DLL functions (via FunctionPatch::~FunctionPatch()).
virtual NTSTATUS DispatchRoutine (IN IncomingIrp *Irp, IO_STACK_LOCATION *IrpSp)

Private Attributes

FunctionPatch m_RecvPatch
FunctionPatch m_SendPatch
bool m_bSucceeded
 Specifies whether the patching was successful.


Detailed Description

Device object for the KDPATCH driver.

Definition at line 122 of file kdpatch.cpp.


Constructor & Destructor Documentation

KDPatchDevice::KDPatchDevice (  )  [inline]

Locates and patches packet-related functions in KDCOM.DLL.

Definition at line 131 of file kdpatch.cpp.

Here is the call graph for this function:

KDPatchDevice::~KDPatchDevice (  )  [inline]

Restores the original state of KDCOM.DLL functions (via FunctionPatch::~FunctionPatch()).

Definition at line 157 of file kdpatch.cpp.


Member Function Documentation

virtual NTSTATUS KDPatchDevice::DispatchRoutine ( IN IncomingIrp *  Irp,
IO_STACK_LOCATION *  IrpSp 
) [inline, virtual]

Definition at line 161 of file kdpatch.cpp.

bool KDPatchDevice::IsPatchingSuccessful (  )  [inline]

Returns whether the KDCOM.DLL patching was successful.

Definition at line 151 of file kdpatch.cpp.


Member Data Documentation

Specifies whether the patching was successful.

Definition at line 127 of file kdpatch.cpp.

Definition at line 125 of file kdpatch.cpp.

Definition at line 125 of file kdpatch.cpp.


The documentation for this class was generated from the following file: