Questions tagged [wdm]

Windows Driver Model is a framework for device drivers that was introduced with Windows 98 and Windows 2000 to replace VxD. It was later replaced with Windows Driver Foundation (WDF).

134 questions
22
votes
2 answers

What is the difference between a WDM driver, a KMDF driver and a UMDF driver?

When creating a Windows Driver project in Visual Studio 2012, you have many different options to choose from. There's a page on MSDN that helps you with choosing the correct driver model for your device. It however doesn't clearly explain the exact…
lesderid
  • 3,388
  • 8
  • 39
  • 65
14
votes
1 answer

How to manually deploy a driver service?

How do i manually deploy or register a Windows filter driver? Warning: There's a lot of "proof of research effort" ahead. You don't have to read any more if you don't want to. I just point out, in detail, that i've tried what you're supposed to,…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
7
votes
3 answers

Will moving code into kernel space give more precise timing?

Background information: I presently have a hardware device that connects to the USB port. The hardware device is responsible sending out precise periodic messages onto various networks that it, in turn, connects too. Inside the hardware device I…
Eric
  • 1,697
  • 5
  • 29
  • 39
6
votes
0 answers

How to create a Virtual Audio Loopback Device from MSVAD sample code obtained from WDK?

I am going to make a Virtual Audio Loopback Cable/Pipeline(a Virtual Audio Device).MSVAD source code getting along with WDK only perform capture and save audio data which apears at the input port of the device, I don't know how to implement CopyTo…
5
votes
0 answers

Error: this template attempted to load component assembly 'Microsoft.DriverKit.DriverWizard'

I am getting the following error when I try to create an empty project in Visual Studio 2013 for WDM Error: this template attempted to load component assembly 'Microsoft.DriverKit.DriverWizard, Version=6.4.0.0, Culture=neutral, …
4
votes
2 answers

Debugging a driver with WinDbg - How set a breakpoint at DriverEntry?

I have a driver which is, for some unknown reasons causing a bugcheck 0x0000003b. So I decided to set up a Hyper-V VM and use kernel debugging to see what exactly is going on. I already enable testing signing with bcdedit, and checked that the…
Trey
  • 474
  • 2
  • 9
  • 32
4
votes
0 answers

Filter driver for disk volume cause BSOD 0x7b

I develop disk volume crypting driver "xxxx_aes" for MS Windows that is implemented like WDM filter driver. It installed in system as a "LowerFilters = xxxx_aes fvevol rdyboost" for "Storage Volumes" class…
4
votes
4 answers

Virtual drivers with Windows Driver Model - where to begin?

I've never written drivers before but I'm starting an open-source project that involves creating virtual MIDI ports that will send the MIDI data over a network. For this, I presume I would be creating some sort of virtual driver using WDM (unless…
bcoughlan
  • 25,987
  • 18
  • 90
  • 141
4
votes
3 answers

DDK/WDM developing problem ... driver won't load on x64 windows platform

I am a beginner at DDK/WDM driver developing field. I have a task which involves porting a virtual device driver from x86 to x64 (intel). I got the source code, I modified it a bit and compiled it succesfuly with DDK (build environments). But when I…
user295975
  • 41
  • 1
  • 2
4
votes
3 answers

Extracting USB PID VID from DevicePath

When using SetupDiGetDeviceInterfaceDetail to retrieve a SP_DEVICE_INTERFACE_DETAIL_DATA relating to a connected USB device, a string called DevicePath is returned. The string being returned is formatted like the following…
user3099783
  • 51
  • 1
  • 2
4
votes
0 answers

implement virtual audio cable programmatically

Virtual Audio Cable is a Windows WDM multimedia driver that allows a user to transfer audio streams from one application to another. I want to implement this functionality programmaticaly. I will prefer to do it in c#. Any developer can guide me how…
3
votes
0 answers

Sending audio data to a user mode application from Virtual Audio Driver

I have my current task to send audio data from virtual audio driver to user mode application. First I need to create an instance of that virtual audio driver from an user mode application ... Please see the code snippet below //Generating the device…
zufluk
  • 63
  • 1
  • 5
3
votes
1 answer

WDM driver and user-mode communication: best practices and callback questions

The purpose of my driver is to notify a user-mode application about every callback that I receive, passing the data I get from those registered routines to it. The user-mode application will then print on the screen (it's a simple Win32 console…
user5752858
  • 183
  • 1
  • 13
3
votes
2 answers

Add Gem 'wdm' to your GemFile

Error I have tried running the following command in git bash rails g scaffold_controller oragnizationsController And I get the error in the picture. I have tried multiple solutions: 1- Tried running gem install wdm 2- Tried running bundle…
Sayed Alesawy
  • 425
  • 2
  • 6
  • 18
3
votes
1 answer

LINK : error LNK2001: unresolved external symbol NtProcessStartup

I am new to Windows driver development and minifilters and I am trying to build the nullFilter sample using command line tools. So I added #pragma comment(lib, "FltMgr.lib") to the .c file and issued the following commands successfully: cl.exe…
1
2 3
8 9