Bump version to WinDivert 1.2

Bump version and change magic numbers to make the driver incompatible with
older versions.  Also cleanup some driver checksum code missed by previous
commit.
This commit is contained in:
basil00
2015-07-17 18:24:30 +08:00
parent e247f01c43
commit fdd5825f5d
4 changed files with 28 additions and 54 deletions
+3 -3
View File
@@ -29,7 +29,7 @@
#include "windivert.h"
#define WINDIVERT_VERSION 1
#define WINDIVERT_VERSION_MINOR 1
#define WINDIVERT_VERSION_MINOR 2
#define WINDIVERT_STR2(s) #s
#define WINDIVERT_STR(s) WINDIVERT_STR2(s)
@@ -43,8 +43,8 @@
#define WINDIVERT_DEVICE_NAME \
L"WinDivert" WINDIVERT_VERSION_LSTR
#define WINDIVERT_IOCTL_VERSION 3
#define WINDIVERT_IOCTL_MAGIC 0xE8D3
#define WINDIVERT_IOCTL_VERSION 4
#define WINDIVERT_IOCTL_MAGIC 0x529B
#define WINDIVERT_FILTER_FIELD_ZERO 0
#define WINDIVERT_FILTER_FIELD_INBOUND 1