Driver Model Settings Properties for Driver Projects

Sets the basic properties for a kernel-mode or user-mode driver, including the WDF library version and preprocessor definitions.

Setting driver model properties for driver projects

  1. Open the property pages for your driver project. Right-click the driver project in Solution Explorer and select Properties.
  2. In the property pages for the driver project, click Configuration Properties and then click Driver Model Settings.
  3. Set the properties for the project.

Type of driver
The type of driver when the driver Configuration type is Driver. Note that this option is available only when projects use the WindowsKernelModeDriver8.0 toolset.

Possible values are:

WDM (including all miniport/port drivers such as NDIS or StorPort).

KDMF A KMDF driver.

Export driver (WDM) A WDM driver that exports functions which other drivers can call. For more information, see Creating Export Drivers.

KMDF Version Major
When the type of driver is KMDF, this option specifies the major version of KMDF that will be used when compiling your driver.

The KMDF_VERSION_MAJOR entry informs the MSBuild utility that it must link the driver to the KMDF library.

You can build a KMDF driver for an earlier minor version of the library. For example, you could build a driver using KMDF Version Major=1 and KDMDF Version Minor=9 (KMDF Version 1.9) rather than 1.11 so that the driver could be shipped in a package containing an earlier version of the WDF co-installers.

For more information, see Framework Library Versioning.

KMDF Version Minor
When the type of driver is KMDF, this option specifies the minor version of KMDF that will be used when compiling your driver.

For more information, see Framework Library Versioning (11, 9, 7, 5). If you omit the KMDF Version Minor, the most recent minor version is used.

UMDF Version Major
When you have a UMDF driver, this option specifies the major version of UMDF that will be used when compiling your driver. See UMDF Version History. When you have a UMDF driver, the Configuration type is Dynamic Library (.dll).

UMDF Version Minor
When you have a UMDF driver, this option specifies the minor version of UMDF that will be used when compiling your driver (11, 9, 7, 5). If you omit the UMDF Version Minor, the most recent minor version is used.

Allow Date, Time, and Timestamp
Defines the standard C/CPP macros for __DATE__, __TIME__, __TIMESTAMP__.

Override Target Configuration Preprocessor Definitions
Overrides the default values for preprocessing symbols: _WIN32_WINNT, WINVER, WINNT, and NTDDI_VERSION for your source file. Note that the default values are controlled by the current target configuration.

Related topics