Error building Callout Driver

Hello forum

Am building the sample repository :
https://github.com/Microsoft/Windows-driver-samples/tree/master/network/trans/WFPSampler

Visual studio 2015 is the programming environment, i had installed
Windows Driver Kit

The error pionts to line 36: which has AddReg =
WFPCalloutsClassReg of the file WFPSamplerCalloutDriver.inx

My solution folder has only five folders :

  • a user-mode application project named **WFPSampler** (under the
    **Exe** node)

  • a user-mode library project named **WFPSampler** (under the **Lib** node)

  • a user-mode service project named **WFPSamplerService** (under the
    **Svc** node)

  • a driver project named **WFPSamplerCalloutDriver** (under the **Sys** node)

  • a kernel-mode library project named **WFPSampler** (under the
    **Syslib** node)

My question is this how do i resolve this issue, had looked it up in Google.

Or am i missing something

Thank you.

tope awolowo wrote:

Am building the sample repository :
https://github.com/Microsoft/Windows-driver-samples/tree/master/network/trans/WFPSampler

Visual studio 2015 is the programming environment, i had installed
Windows Driver Kit

The error pionts to line 36: which has AddReg =
WFPCalloutsClassReg of the file WFPSamplerCalloutDriver.inx

My question is this how do i resolve this issue, had looked it up in Google.

It is extremely disturbing that you could not solve this problem on your
own. It took me 5 seconds to realize that this was a simple typo in the
INX file; the AddReg and DelReg lines refer to “WFPCalloutsClassReg”,
but the section is actually called “WFPCalloutClassReg”. The names are
not the same. If you can’t find and fix a simple typo, there’s no way
you’re going to be able to make modifications to the sample code.

Further, if you had gone back to github to check, you would see that the
typo was actually fixed two days ago. If you do a “git pull” to get a
fresh copy, this problem will go away.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.