* PROJECT: ReactOS TCP/IP protocol driver
* FILE: tcpip/dispatch.h
* PURPOSE: TDI dispatch routines
- * PROGRAMMERS: Casper S. Hornstrup (chorns@users.sourceforge.net)
+ * PROGRAMMERS: arty
* REVISIONS:
* CSH 01/08-2000 Created
* TODO: Validate device object in all dispatch routines
*/
-#include <roscfg.h>
-#include <tcpip.h>
-#include <dispatch.h>
-#include <routines.h>
-#include <datagram.h>
-#include <info.h>
+
+#include "precomp.h"
+
+VOID IRPRemember( PIRP Irp, PCHAR File, UINT Line ) {
+#ifdef MEMTRACK
+ TrackWithTag( IRP_TAG, Irp, File, Line );
+#endif
+}
NTSTATUS IRPFinish( PIRP Irp, NTSTATUS Status ) {
TI_DbgPrint(MID_TRACE,("Called: Irp %x, Status %x Event %x\n", Irp, Status, Irp->UserEvent));
+#ifdef MEMTRACK
+ UntrackFL( __FILE__, __LINE__, Irp );
+#endif
+
IoSetCancelRoutine( Irp, NULL );
if( Status == STATUS_PENDING )