Compiling WFPSampler [wfpcalloutsclassreg] not found. RRS feed

  • Question

  • Hi,

    I'm trying to compile the WFPSampler of the windows filtering platform. https://github.com/Microsoft/Windows-driver-samples/tree/master/network/trans/WFPSampler

    To make sure I was using latest version, I've (painfully) uninstalled and reinstalled the VS Community, the SDK and WDK following from this page: https://developer.microsoft.com/en-us/windows/hardware/windows-driver-kit

    It is quite confusing because that page refers to a version "1703" while for me it would always get the version "10.0.15063.0".

    Following the readme instruction, build yield to this error on the sys driver creation:

    Stamping .\Debug\\WFPSamplerCalloutDriver.inf [Version] section with DriverVer=06/29/2017,
    3>(...)sys\WFPSamplerCalloutDriver.inx(36-36): error 1203: Section [wfpcalloutsclassreg] not found.
    3>(...)sys\WFPSamplerCalloutDriver.inx(49-49): warning 2083: Section [defaultuninstall.ntx86] not referenced or used.
    3>(...)sys\WFPSamplerCalloutDriver.inx(53-53): warning 2083: Section [defaultuninstall.ntx86.services] not referenced or used.
    3>(...)sys\WFPSamplerCalloutDriver.inx(56-56): warning 2083: Section [wfpcalloutclassreg] not referenced or used.
    3>(...)sys\WFPSamplerCalloutDriver.inx(66-66): warning 2083: Section [wfpsamplercalloutdriver.nt.coinstallers] not referenced or used.
    3>(...)sys\WFPSamplerCalloutDriver.inx(70-70): warning 2083: Section [wfpsamplercalloutdriver.coinstaller.addreg] not referenced or used.
    3>(...)sys\WFPSamplerCalloutDriver.inx(73-73): warning 2083: Section [wfpsamplercalloutdriver.coinstaller.copyfiles] not referenced or used.

    on file WFPSampler\sys\WFPSamplerCalloutDriver.inx at 

       AddReg = WFPCalloutsClassReg

    Nothing found on google about this error, but from what I found, this is related to some changes in inx file handling over some SDK or WDK version but unable to find any information on that or download the latest "1703?" Version.

    Current Setup is:

    Microsoft Visual Studio Community 2015
    Version 14.0.25431.01 Update 3
    Microsoft .NET Framework
    Version 4.7.02053
    Installed Version: VS Community Update 3 14.0.25431.01
    Visual Basic 2015   00322-20000-00000-AA658
    Visual C# 2015   00322-20000-00000-AA658
    Visual C++ 2015   00322-20000-00000-AA658
    Microsoft Visual C++ 2015
    Application Insights Tools for Visual Studio Package   7.0.20622.1
    Common Azure Tools   1.8
    Debugging Tools for Windows   10.0.15063.0
    JavaScript Language Service   2.0
    JavaScript Project System   2.0
    Microsoft Azure Mobile Services Tools   1.4
    NuGet Package Manager   3.4.4
    PreEmptive Analytics Visualizer   1.2
    PVS-Studio   6.15.21740.271
    SQL Server Data Tools   14.0.60519.0
    Visual Studio Tools for Universal Windows Apps   14.0.25527.01
    Windows Driver Kit   10.0.15063.0

    Thanks for any help

    Thursday, June 29, 2017 11:52 AM

All replies

  • Seems to be a typo on the sample


    Monday, July 3, 2017 10:11 AM