driver

How to debug driver load error?

I've made a driver for Windows, compiled it and tried to start it via SC manager, but I get the system error from the SC manager API: ERROR_PROC_NOT_FOUND The specified procedure could not be found. Is there a way to get more information about why exactly the driver fails to start? WinDbg or something? If I comment out all code in my ...

Win7: Replacing a driver without reboot

I'm debugging an audio driver under Windows 7. When I need to replace it with an updated version, I have to reboot the system because a copy of current driver under DriverStore is locked despite the fact that the driver is unloaded. Is there a way to avoid rebooting? It was possible on XP... ...

Windows Named Pipe Problem

I'm writing a driver that communicates with a userland application through a named pipe. The userland application creates the named pipe by calling CreateNamedPipe() and then passes the pipe name to the driver by invoking an IOCTL. The driver then opens the pipe by calling ZwCreateFile(). The userland application then hits a loop that r...

How to make a Video "mini/filter-driver"

Hello everyone I need to create an application/driver in Windows that captures the video stream from a webcam, performs some modifications and passes it back on to the system (so it streams out to say skype). Anyone knows how to create / register such an app ? Maybe samples on the web ? Thanks in advance ...

Call Tracing Windows Driver

I wish to be able to record, in real time, the activity of a kernel mode driver (I have the full symbols for it). It's a HID miniclass driver. I wish to record the execution of calls in this driver (stacktraces every time an IRP enters and leaves the driver). Is this possible (maybe with EWT and/or WPT)? ...

Capturing raw Native 802.11 packets using NDIS 6.0, Windows Vista

I'm trying to write code that can capture raw native 802.11 packets to essentially write a packet sniffer. I'm using Vista with 802.11 device which uses an NDIS 6.0 native 802.11 driver. Perhaps I am going about this the wrong way (and please let me know if there are better alternatives!) I'm trying to do this all through the Windows ...

How stable is dokan sshfs?

People have reported BSOD on windows 7 (64bit) http://dokan-dev.net/en/2009/04/06/the-next-release-of-dokan-library/. For some reason unknown to me, my explorer on winxp sp3 (32bit) gets shaky and at time freezes if I do lots of browsing via doken SSHFS drive. Have you faced any issues lately with sshfs doken driver? Just wanted to get y...

Ethernet checksum checking in wireless stack

When receiving a raw ethernet packet over a wireless connection, where does the ethernet checksum get calculated, and where are errors handled? Does the wireless stack handle this, or is it handled in the upper layers? ...

Wix 3 driver package installation problem

Hello. I am trying to create a .msi database using Wix to install a driver package. Now this driver package is made to run on all platforms and can be installed on any platform (any version of windows, 2k and later, x86 or x64) by right clicking on the .inf file and selecting the "Install" option. Because the package doesn't need mul...

Can we turn on/off Scroll Lock light by software instructions?

Is it possible to turn on/off Scroll Lock light by software instructions like outb or something else? And if the answer is yes, can we restrict the use of these instructions so that they are only allowed in ring-0? ...

Communicating with USB device

I am working on building a USB Video Class camera, which is supposed to work well with various flavours of Windows. The camera needs firmware upgrade support to upload new software images into it. There are two ways to do it, as far as I know. Use DFU. Use control endpoint of the UVC Class device to transfer bytes into the device. T...

Device Driver DLL Blocking vs NonBlocking?

My company makes a product that connect to the PC via USB. I am writing a DLL driver, using Visual C#, for this product so that anyone who wants to write a program that can control or device can do so. Some of the operations that the driver will execute take several seconds for the device to complete (for example moving the motor in th...

Recommend a PDF Printer Driver

I'm writing a PDF viewer/annotator for Windows and require a PDF virtual printer driver. Can anyone recommend one? It needs to be brandable, so it doesn't mention the 3rd party vendor's name on it, just our name. In fact it could ideally be so simple it featured no branding. NovaPDF looked promising, but they expressly forbid anyone cr...

Custom ethernet driver problem

Hello, I dont know if this questions is relevant here or superuser, but ask anyway. I have below mentioned setup- A Linux Desktop PC system. To this is connected one custom FPGA development board.In this FPGA there is an Ethernet Network Card IP realized and executing. This board is connected to the FPGA development board using USB po...

Is the driver using the Linux NAPI Interface?

Is there a way to confirm if a Linux Ethernet driver is using the NAPI interface? ...

64 bit ODBC Exception

I am getting the following ODBC exception when I moved my development platform from Windows XP X86 to Windows 7 X64: ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application What I'm sure it means is that the server it is connecting to is 32 bit, and the comp...

Uncertified Windows Driver

OK, I am working on developing a USB device. I have created a custom windows driver for the device based on a pre-made Windows driver from my MCU manufacturer. The driver works fine on Windows XP, and Windows 7 (32-bit), BUT on my Windows 7 64-Bit machine, it will not let me use the driver. The driver will install just fine but when i go...

InstallShield 2010 Premiere: 64 bit & 32 bit driver installation

Hello, I'm using InstallShield 2010 Premiere. I have a basic MSI project that install an application and a 32 bit driver using the Driver wizard and DifxApp. I'm trying to add a 64 bit driver that will be installed if the system is 64 bit. However, when adding this 64 bit driver, the installation (On a 32 bit system) fails, and the on...

Updating UMDF drivers during development

Hi, I am having some trouble updating UMDF drivers using "devcon" during a standard code-deploy-debug cycle. The problem is that "devcon update" isn't really updating anything unless the version number or the date of the DLL file and the INF file has changed from what is stored in the system's driver cache folder. After a maddeni...

How to create a virtual video capture driver for Windows?

I need to create a driver that presents itself to Windows as a video capture driver. The driver generates the video itself. How would I go about doing this? And please keep in mind that I'm using Visual C++ Express. ...