Windows 7 compilation problem: error C4013: 'WdfDeviceOpenDevicemapKey' undefined RRS feed

  • Question

  • Hello,

    I have problem with kernel driver compilation on Windows 7.

    My current settings in Property Pages:

    General->'Windows SDK Version' = 10.0.17134.0

    General->'Platform Toolset' = WindowsKernelModeDriver10.0

    'Driver Settings'->General->Target OS Version = Windows 7, 8.0, 8.1 fails to compile - Windows 10 or higher works

    'Driver Settings'->General->'Target Platform' = Desktop

    I am able to compile driver for Windows 10 but not for previous Windows versions. Any idea what should I do?

    Edit: Seems it's backward compatibility. This function is available from 1.15 KmdfVersion but Windows 8.1 compilation works only with previous versions. I will try to use different function.

    Best regards,


    • Edited by nb3m Tuesday, July 30, 2019 9:40 AM
    Tuesday, July 30, 2019 8:55 AM