- Get NDIS to compile on msvc/ddk (thanks to filip for his help)
[reactos.git] / reactos / drivers / net / dd / pcnet / pcnet.h
index cb8d3c3..f455155 100644 (file)
@@ -57,7 +57,7 @@ typedef struct _ADAPTER
   ULONG Flags;
   ULONG InterruptVector;
   ULONG IoBaseAddress;
-  PVOID PortOffset;
+  ULONG_PTR PortOffset;
   NDIS_MINIPORT_INTERRUPT InterruptObject;
   NDIS_MEDIA_STATE MediaState;
   NDIS_MINIPORT_TIMER MediaDetectionTimer;
@@ -140,7 +140,7 @@ MiGetMediaState(PADAPTER Adapter);
 #define RESET_IN_PROGRESS 0x1
 
 #if DBG
-#define BREAKPOINT __asm__ ("int $3\n");
+#define BREAKPOINT DbgBreakPoint();
 #else
 #define BREAKPOINT
 #endif