Questions tagged [wdk]

For questions about the Windows Driver Kit (WDK, formerly WinDDK), which includes the tools and documentation needed to develop drivers for the Windows platform.

The Windows Driver Kit (WDK) includes the tools and documentation you need to develop drivers. WDK 8 Release Preview is integrated into Visual Studio and provides almost all of the tools you need for developing, building, packaging, testing, and debugging drivers.

For more information, visit the WDK website.

702 questions
37
votes
4 answers

warning C4996: 'GetVersionExW': was declared deprecated

I am working on VS 2013 in Win 8.1. How to solve this warning?
yemans
  • 727
  • 3
  • 11
  • 16
30
votes
4 answers

"fatal error U1087: cannot have : and :: dependents for same target"

Using the Microsoft Driver Development Kit (DDK), this error plagued me as I attempted even to build the default drivers included with the DDK. I had a some difficulty in tracking down the cause and solution through Google. In an effort to aid…
KevenK
  • 2,855
  • 3
  • 24
  • 33
20
votes
4 answers

Error building sample driver: An SDK corresponding to WDK version '8.1' was not found

I used one Windows Driver samples from github (Filesys) and tried to build it on Windows 10 with Visual Studio 2015. I have installed both: WDK8.1 with its SDK WDK10 But when i try to build a project i see this error message: An SDK corresponding…
max imax
  • 1,851
  • 3
  • 12
  • 14
20
votes
2 answers

Virtual Webcam Driver

I want to develop a virtual webcam driver which from User mode I'll pass image to it and it will display as webcam output. I don't want to use DirectX filter and CSourceStream etc. Because they don't work on some programs which doesn't use DirectX…
Franklin
  • 289
  • 2
  • 3
  • 5
20
votes
2 answers

Raw PDO to send IOCTL to upper filter driver (kbfiltr/moufiltr) to enable/disable device

I am quite new to driver development and trying to write a simple filter driver that will enable or disable a keyboard or mouse device. If I can make it work, I want to use it to disable the touchpad on my laptop when a mouse is plugged in. I…
Dale
  • 12,505
  • 8
  • 49
  • 83
19
votes
4 answers

Windows: Is it *possible* to create a (virtual) video card driver?

i want to create a virtual monitor. The way this would work is that the virtual monitor would appear in a window on my desktop. As far as Windows knows it is just another monitor. It occurs to me that it would, as a practical matter, have to be done…
Ian Boyd
  • 220,884
  • 228
  • 805
  • 1,125
14
votes
6 answers

Cannot open include file: 'ntddk.h'

I'm been trying to get into driver development (queue the "don't do that") I have been looking at this msdn page and after installing the WDK (Windows Driver Kit) 10 I am still unable to compile the example that they use on that page. I have looked…
Ezzy
  • 1,275
  • 2
  • 12
  • 28
13
votes
1 answer

Modifying Windows disk driver to use updated control codes like IOCTL_DISK_GET_DRIVE_GEOMETRY_EX

I'm trying to modify a Windows kernel-level disk driver to properly respond to updated control codes. For example, it only had a handler for the obsoleted IOCTL_DISK_GET_DRIVE_GEOMETRY control code, but not the newer…
davidl
  • 139
  • 3
13
votes
7 answers

how can i build a driver using visual studio?

does anyone have an article how to do this ?
Lea gold
12
votes
1 answer

what does $< and $@ mean in make file

I found these pseudo variable name in my makefile in WDK build environment. What is referenced by these variables? It is a little hard for me to get the answer by search engine because they are special, I believe.
Thomson
  • 18,073
  • 19
  • 75
  • 125
12
votes
2 answers

Emulating joystick programmatically

I want to emulate a joystick using keypresses and/or mouse input. So other programs/games will think that user is using a joystick while he is using a mouse. So the program will install kindof a driver for fake usb or fake an existing…
itsfrosty
  • 203
  • 2
  • 8
11
votes
4 answers

Kernel mode programming using simplistic c++?

I am about to delve into kernel land. My question relates to the programming language. I have seen most tutorials to be written in C. I currently program in C++ and Assembly. I also studied C before C++, but I didn't use it a lot. Would it be…
devjeetroy
  • 1,715
  • 5
  • 22
  • 43
11
votes
7 answers

How can I compile Programmer Dvorak?

I'm trying to compile the open source project Programmer Dvorak. The problem is that it's a bit old and doesn't build with the current versions of the build tools. You can see the full source code with modifications I made online at my project's…
Senseful
  • 73,679
  • 56
  • 267
  • 405
11
votes
3 answers

Int2Cat - DriverVer set to incorrect date

I'm trying to develop a driver using Visual Studio 2012, which automatically integrates with WDK. When I try to build my driver, I receive an error message from Inf2Cat app. It says: Errors: 2> 22.9.7: DriverVer set to incorrect date (postdated …
Xanx
  • 487
  • 5
  • 15
11
votes
3 answers

How to get rid of warning squiggles for WPP TraceEvent macro?

When using WPP in Visual Studio (2012) each occurence of TraceEvents(...) has a wavy underline and the help text is e.g. #define TraceEvents WPP_(CALL) error: identifier WPP_Call_Foo_cppNNN not defined Well, it is defined, in the .tmh header file…
VolkerK
  • 92,020
  • 18
  • 157
  • 222
1
2 3
46 47