Oktatás
Modul
Troubleshoot device driver failures - Training
This module focuses on the role of device drivers and troubleshooting problems that pertain to them.
Ezt a böngészőt már nem támogatjuk.
Frissítsen a Microsoft Edge-re, hogy kihasználhassa a legújabb funkciókat, a biztonsági frissítéseket és a technikai támogatást.
Sets the basic properties for a kernel-mode or user-mode driver, including the WDF library version and preprocessor definitions.
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:
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.
For more information, see Framework Library Versioning.
KMDF Version Minor (Target Version) (was KMDF Version Minor prior to Windows 10, version 1803) 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. If you do not specify KMDF Version Minor (Target Version), Visual Studio uses the following defaults:
KMDF Version Minor (Minimum Required) (optional, available starting in Windows 10, version 1803) Starting in KMDF version 1.25 and UMDF version 2.25 on Windows 10 version 1803 (Redstone 4), you can build a KMDF driver that targets a span of framework versions. Use this optional setting to specify the minimum KMDF version of this range.
For details, see Building a WDF driver for multiple versions of Windows.
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 (Target Version) (was UMDF Version Minor prior to Windows 10, version 1803) When you have a UMDF driver, this option specifies the minor version of UMDF that will be used when compiling your driver. If you do not specify UMDF Version Minor (Target Version), Visual Studio uses the following defaults:
For major version = 2:
For major version = 1:
UMDF Version Minor (Minimum Required) (optional, available starting in Windows 10, version 1803)
Starting in KMDF version 1.25 and UMDF version 2.25 on Windows 10 version 1803 (Redstone 4), you can build a UMDF driver that targets a span of framework versions. Use this optional setting to specify the minimum UMDF version of this range.
For details, see Building a WDF driver for multiple versions of Windows.
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.
Oktatás
Modul
Troubleshoot device driver failures - Training
This module focuses on the role of device drivers and troubleshooting problems that pertain to them.
Dokumentáció
Hello World Windows-illesztőprogram írása (Kernel-Mode) - Windows drivers
Windows-illesztőprogram írása Kernel-Mode Illesztőprogram-keretrendszer (KMDF) használatával. Először egy Microsoft Visual Studio-sablont kell létrehoznia.