Click here to Skip to main content
15,891,951 members
Everything / Driver

Driver

driver

Great Reads

by Nagaraj Krishnamurthy
This article goes into the details of how to write a Linux Device Driver for a pseudo Ethernet device simulated on a Qemu platform.
by Alexander Eremeev
The Windows kernel-hacking library and development framework written on C++17
by udhaya2code
While using Microsoft Text Driver to read CSV data to DataSet in C# in your 64 bit machine
by grilialex
COFILOS SD Card Driver

Latest Articles

by honey the codewitch
Explore the inner workings of a highly capable IoT display driver for the ESP32
by Apriorit Inc, Artem K.
A clear overview on how you can establish communication between a device and its driver
by Apriorit Inc, Sergii Kusii
And its modules during runtime
by Apriorit Inc, ruksovdev
A detailed description of an FPGA-specific framework called ISE Design Suite, and the main steps you need to take in order to create a VGA driver using FPGA

All Articles

Sort by Title

Driver 

11 May 2011 by markfilan
I am tryig to change a 32bits driver to 64bits,here is the problem, i can not correct this:the error shows below:1>D:\WinDDK\7600.16385.1\inc\api\ntdef.h(155): fatal error C1189: #error : "No Target Architecture"1> Dispatch.cpp1>D:\WinDDK\7600.16385.1\inc\api\ntdef.h(155): fatal error...
11 May 2011 by Richard MacCutchan
I don't have a copy of the DDK but my suggestion would be to look in D:\WinDDK\7600.16385.1\inc\api\ntdef.h around line 155 and try to figure out what preprocessor definition you have not set.
12 May 2011 by Albert Holguin
The DDK expects some environment variables to be set, see this:http://mcdermottcybersecurity.com/articles/64-bit-device-driver-development[^]Now, you can use the building tools that the DDK uses which already set these variables for you or you can just set them yourself by whatever means...
4 Aug 2013 by xXTariqoO
Hello,i started to learn about driver programmingi want to make my driver do a thing every 2000 ms for exampleand in c++ i will be like thiswhile(true){Sleep(2000);//(2 Seconds)DoSomething();}the question is :how to do like it in c driverit must be like...
4 Aug 2013 by User 59241
The principle is exactly the same as creating delays in user mode. Sleep() has very limited value and you can use Google to find out why. Ultimately you need waitable timers.(1) Create a kernel timer via...
25 May 2014 by zaki al
Also you can use KeDelayExcutionThreadThird parameter of this function is in 100 nano seconds(0.01 micro seconds)http://msdn.microsoft.com/en-us/library/windows/hardware/ff551986%28v=vs.85%29.aspx[^]
5 Dec 2012 by cschenlu
hello,I'm a windows programmer. I've recently met a problem on usb driver, sincerely hope I could get your reply. My usb driver doesn't work well with usb device. It's a webcam device. when I start this webcam, it always display white no matter what we show before it. I use bus hound to...
14 Aug 2015 by mohammadreza.golparast
HELLO ALLexcuse me , i have a question about debugging a kernel driver (KMDF)I am a beginner programmer in the field of drivers.I've done the virtual machine configuration and also setting up visual studio in accordance with the following address.Kernel-Mode Debugging in a VM using...
13 Dec 2010 by DisneyCHZ
I wrote a virtual USB bus driver in Windows, after it enumerate the USBSTOR driver, in the usb bulk or interrupt transfer phase, the USBSTOR driver will send some IRPs with MDL pointer. It means that using direct I/O method (but strangely, the "Method" in the IRP is "Neither"). When I use the...
16 Dec 2010 by DisneyCHZ
I know the reason now. Before getting the virtual address here, I did a wrong thing. I lower the IRQL, this is a fatal error.
20 Apr 2015 by Raj Nakkiran
How to manage multiple versions of device drivers and with multiple versions of applications, which share common operational contracts.
24 Oct 2012 by bhasinsatish123
Ther driver model describes that there are 2 modes...user and kernel mode the kernel mode being mode privilidged from the user mode and documentattion describes the kernel mode independent form the user mode ie the two modes are independent of each other.but when us make a click or access...
24 Oct 2012 by Sergey Alexandrovich Kryukov
No. Who told you they are independent? They are isolated, and isolated at the level of hardware, the CPU which has four rings of access, but Windows uses just two. And nothing in user mode can call a kernel directly. Pay attention that the control is inverted: the user sends the input through...
6 Jun 2011 by Member 7984120
Hi, guys!I need to replace some user process to other process in kernel mode of Windows. For example, user try to execute calc.exe, so I need to replace it to notepad.exe. I think I need to hook ZwCreateProcess/ZwCreateProcessEx/ZwCreateUserProcess and change parameter ImageName. Does it...
9 Jun 2012 by patrik polakovic
Hi, I am developing driver for automated Win 7 environment. I need to execute some commands within given interval. I would like to achive this using queuing APC routine from my driver to user mode process. But APC fails due to executing code from RW only memory allocated using IoAllocateMdl,...
30 Jan 2014 by Fabio Ottavi
A simple implementation of a driver for a virtual smart card reader, based on UMDF
7 Oct 2021 by User 9916080
This maybe what you are looking for. From Google: Epson TM-T88III Drivers[^]
13 Feb 2015 by thorssig
I've been trying to find a good minifilter example but it's not going well 8(I am looking for a simple minifilter skeleton that doesn't do much but allow registering of events from managed code in VS 2013, then forwards the File-System event to the application (which handles all the logic)...
21 Nov 2016 by Jochen Arndt
Quote:I have tried searching the driver in google, but I can't find one.Searching Google with "POS-5870 58mm Thermal Receipt Printer", third link:Thermal Receipt Printer Driver - POS-X[^].If that does not work (but POS-X indicates that it is for all POS-xxxx printers), scroll down the...
12 Apr 2015 by singaraprabu
We have written a filter driver to track Hyper-V CSV volumes in order to track the modifications in those volumes for backup purpose. When the Hyper-V host is running, we are able to attach the CSV volumes from the driver without any issues. But during Hyper-V host startup, our driver failed to...
10 Dec 2012 by K C R
I used profile.SetPreference for changing the download directory of the FF. I debugged it and saw that it is rendering properly in code but the file is not properly saved in that directory. Thanks in advance
11 Jun 2017 by mrased
profile.SetPreference is explicitly used for profile setting modifier.It would have been helpful to find the issue with you code if you provide the Webdriver,FF driver and browser versions. Though I have used the below furnished code in my code and it has been executed properly. Selenium...
1 Oct 2015 by Member 10950768
I Want To Build Simple Application Like Team Viewer.So Can Any One Give Information Where And How To Start?I Have Knowledge On Computer Networks And C++ Programing
1 Oct 2015 by Patrice T
Teamviewer is simple for user because the programming team is skilled and have made a complicated program that hide complexity to users.So TeamViewer is not simple at all.Your question show that you lack of necessary skill to be able to do a clone of it.To make a TeamViewer clone, you...
4 Aug 2017 by MinYoung Lee
I am developing a simple device driver for study. With a lot of testing, I am creating so many errors which finally leads my computer to blue screen. I am sure that the reason for this is memory crash. So now I want to check if my code can access to Kernel memory before going further. My...
4 Aug 2017 by Randor
Hi, Your question is unclear. You need to specify who allocated the buffer... usermode or kernelmode? Also you need to clarify which ring is reading the buffer... usermode or kernelmode. I think you may be looking for the MmIsAddressValid function[^]. If the buffer you are passing to...
15 Mar 2011 by lapiman
Hello,My goal is to hook specific IRPs (like IRP_MJ_WRITE) with filter driver. I got a list of file names (saved in file) for which dirver should return IRP with STATUS_ACCESS_DENIED. How can I call an application from driver to find out if the file is in the list or not? The application...
16 Mar 2011 by Kurt Degiorgio
No, This is always a bad IDEA, for a alot of reasons that i wont go into here, the way to accompish something like this is to queue IRPS from the user mode application and complete them when the data becomes available.(i suggest you use DeviceIoControl for greater flexibility) in you...
17 Apr 2013 by greenfish77
i'm making a disk(volume) backup/restore system.i would unmount volume before backup,but the system volume can not be unmounted.so the change or access of system volume is worry for me while that system volume is backup.is it possible that detect which disk sector or ntfs cluster was...
23 Dec 2014 by cedricvictor
Dear all:I'm new one in android driver. Does anyone use renderscript inandroid driver? Thanks a lot.Best regard, Victor
1 Nov 2013 by leftbackfielder
hello everyone, I am so sorry that my English is not very well.i will try to describe my question. I write a NT driver that is a keyboard filter. Sometimes, on some computers(not mine), can't be stop. when I use "nsSCM::Stop /NOUNLOAD "MyFilter"" to stop the driver, and then,"query...
3 Nov 2013 by Member 10317429
#include #includechar f[10000];char factorial[1010][10000];void multiply(int k){int cin,sum,i;int len = strlen(f);cin=0;i=0;while(i0){f[i++] = (cin%10)...
30 Mar 2015 by kommuric
http://www-01.ibm.com/support/knowledgecenter/SSEPGG_9.7.0/com.ibm.swg.im.dbclient.install.doc/doc/r0058814.html[^]
8 Nov 2021 by OriginalGriff
YOu need to raise this with Microsoft tech support, not a "general software development" site like this. Perhaps surprisingly, we didn't write Windows, and MS tell us about as much as they tell you ...
5 Mar 2017 by Richard MacCutchan
This is a repost of your other question on exactly the same issue. Please delete one of them and do not repost in future.
24 Jan 2018 by vikramlinux
Hello Guys, I am trying to find out checksum of TCP over IPV6. Please see the below codWhat I have tried:char src_addr[] = { 0xfe, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa1, 0xe4, 0x22, 0x2c, 0x0c, 0x9b, 0x57, 0x22};char dest_addr[] = { 0xfe, 0x80, 0x00, 0x00,...
6 Feb 2017 by Jochen Arndt
This is obviously wrong and a fine example why casting can be unsafe:for(int i = 0; i
6 Feb 2017 by vikramlinux
Tried below code as per above suggestion.char src_addr[] = { 0xfe, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa1, 0xe4, 0x22, 0x2c, 0x0c, 0x9b, 0x57, 0x22};char dest_addr[] = { 0xfe, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0xd7, 0xc9, 0x57, 0x52, 0xd7, 0x0f,...
10 Feb 2017 by vikramlinux
The TCP header + data was missing. Thanks Jochen.
4 Apr 2017 by grilialex
COFILOS SD Card Driver
12 Nov 2011 by vikky08
I am using Ubuntu 10.10.how can I turn on web cam? Actually I do not know cam driver install or not?how can i install?please give the command for it.
12 Nov 2011 by thatraja
Check thisWebcam - Community Ubuntu Documentation[^]
2 Jun 2011 by adrian_134
Hello!I read a Rootkits: Subverting the Windows Kerneland and i have one question how can i create function in driver who be similar to the function in c++ system? I want have result this function in buffer. Sample:char reslut[256];command("dir c:\", result);In reslut i want have...
4 Oct 2016 by Member 12736338
I need to develope a finger print enrollment project.in this i need to connect the finger print sensor to my project.can u pls suggest me the way to connect.actually i cant find any driver.i can see only com port details with this can i develope or connect to my project in dot net.What I...
4 Oct 2016 by Timo Tielens
Hey,Yes, this is possible! I think that it's the best way to create a new folder (for example security) and work with multiple classes. One class for the driver/connection layer, one class that can translate this to an exisiting user (that can be founded in for example a database).I...
24 Feb 2012 by NOUR ALDEEN DORMOSH
Hi EveryOneHow I Use filterconnectcommunicationport on My C++ Code Without WDK
24 Feb 2012 by Chandrakantt
You can directly add library FltLib.lib in your project and add Fltuser.h header file in your project. and try using it in your program. You can add this library and header file from WDK path.
18 Mar 2014 by Ivan Shcherbakov
This article describes how to create and debug a simple device driver on a modern Linux kernel
14 Sep 2011 by jose_ajith
How to add our own drivers to the run time image of xp embedded. Reading through the net i found similar tutorial in msdn website, but this teaches only about adding an application into the Image but not the driver related things.I got the sys files and .inf files needed for a driver. I need...
20 Sep 2011 by Rakesh Meel
see on below link..http://msdn.microsoft.com/en-us/library/ms838630%28v=winembedded.5%29.aspx[^]
29 Oct 2014 by lrtsenar
Let me explain, as precisely as possible, my expectation : I have 3 physical drives (200 GiB, 300 GiB, 500 GiB), but number and size of drives may vary. By using an unique Virtual Drive (VD) seen by an user, the goal is to allow standard file operation (copy, delete, move) through Windows file...
3 Apr 2012 by pravin29
I am using Bulk USB driver (sample from MS WinDDK). We have application software developed in Win32 which communicates our device through USB port (USB host at PC side and USB device at hardware side). In Application software, we are using CreateFile, WriteFile and ReadFile API to communicate...
3 Apr 2012 by User 59241
What you are talking about is asynchronous data processing.To implement this you need to use ReadFile in asynchronous (OVERLAPPED) mode.1. Create an event.2. Create an OVERLAPPED structure containing a handle to this event3. Pass this to your ReadFile function4. In a separate...
25 Jan 2011 by T-Nat
HiAm attempting to write a driver for a datecs fiscal printer that is linked to a third party software. The idea is to retrieve data from the the third party software and send it to the fiscal printer. I do not have access to the source code for the third party software and can only retrieve...
25 Jan 2011 by Indivara
Did you try the SDK here? Doesn't that allow you to do what you say?http://www.datecs.bg/support.php?cat=4[^]
31 Mar 2011 by alinanstoica
Hy! Class for direct print commands:Public Class DATECS Const strANS As String = "______,_,__;" Private LDN As Short 'Logical Device Number Private strLine As String Private BillCtr As Integer Dim noNbDec As New System.Globalization.NumberFormatInfo ...
30 Mar 2011 by T-Nat
Hi Alina Thank you so much for this. I really appreciate, I have been working on this for some time but we ran into problems with our test printer. As soon it is up and running I will test the code and let you know how it goes. Thanks once again.Cheers!T
31 Mar 2011 by alinanstoica
Hi!We're welcome! I really had a hard time to work this out also..I figured out why discount wasn't working. So the Discount function works like this (I've tested it): 'adding products'S,1,______,_,__;ProductName;18.00;1;1;4;1;0;0;'subtotal 'T,1,______,_,__,4;;;;;'Discount...
20 Apr 2011 by Emma1
Try new version of fiscal printers based on FisBox with ARM Cortex M3 CPU and 4GB memory.I think, there is right way to future of fiscal storage.See also receipt example.www.FisBox.eu
2 Jul 2012 by Svininykh
You can try my sourcecode for Openbravo POS http://forge.openbravo.com/projects/openbravopos/forum/fiscal-printer-datecs-native-support-is-ready--t7031961.htmlMy solution support low-level protocol for integration Datecs fiscal printer.
16 Jan 2012 by Member 7984120
Hello, Guys!I have small question about 2 parameters of IoCreateFile. What means combination of DesiredAccess = SYNCHRONIZE and ShareAccess = 0? Is it full access to the file, can I read and write to file opened only with this flags?Thanks!
29 Jan 2012 by amertarekt
to know the mean of DesiredAccess values go there http://www.osronline.com/ddkx/kmarch/k111_9dte.htm[^]share access:is means what to shared between threads on the programFILE_SHARE_READ : all threads can read this fileFILE_SHARE_WRITE : all threads can write on this...
7 May 2012 by casa cargo
20 Feb 2012 by Jayant Narayan Dash
Hi All,i am new to windows device driver development. i downloaded WDK 7.1.0, but its documentation says we can't develop driver for windows-XP(SP2) or lower.please suggest me how can i develop drivers for all the version of windows at least windows-Xp(SP1) and later versions. Thanks...
20 Feb 2012 by Mehdi Gholam
You really shouldn't be using XP without at least SP3 installed as it more stable and secure than SP1 and SP2.XP is not an actively supported operating system at the moment and will be decommissioned in 2014 (expiry of the extended support period).
1 Jan 2012 by jav 2012
Developer drivers for windows XP / 7Maybe not in the right place, but I honestly want to contact a developer of Windows drivers.And I'm willing to pay hard.please do not forsake me, honestly I need it.
1 Jan 2012 by Rajeev Jayaram
This is not a question. If you want to discuss about something non-technical use http://www.codeproject.com/Lounge.aspx[^]
29 May 2011 by xyubla3
Hi,I have my virtual disk driver running under windows xp for success but just only for Administrator account. When i try to access disk drive (m:) under other account it is unavaible. Disk device is created with IoCreateDeviceSecure:RtlInitUnicodeString(&sddl,...
28 Jul 2012 by stib_markc
My aim is to learn developing device drivers for windows. Choice of framework(s) is left to me. Are/Is there any good books on this topic? I have searched on web about this and did find many pages, I am hoping to get an expert advice.Thank you.
28 Jul 2012 by bbirajdar
Google is your friend to get you started to learn the basics. Learn the basics and create toy applications to learn each of the tools, classes, structures ...or whatever the technology provides...Next step is to mimic the existing drivers ...Once you are capable of it, then you are...
28 Jul 2012 by Hawkfuture
In my case, I started driver programming with "Programming the Microsoft Windows Driver Model" by Walter Oney. Windows DDK/WDK documents are also helpful.
28 Jul 2012 by Rajesh Buddaraju
Find out some driver programming videos in you tube it would also very help full for practical knowledge.
29 Jul 2012 by Reza Oruji
windows device driver programming booksread customer reviews for more details
29 Jul 2012 by «_Superman_»
The latest framework for writing device drivers for Windows is the Windows Driver Foundation (WDF).Microsoft recommends you use WDF. It is a wrapper around the Windows Driver Model (WDM) and eases driver development drastically. Many difficult tasks like power management and plug and play...
29 Jul 2012 by Volynsky Alex
Writing Windows VxDs and Device Drivers, Second Edition (Paperback) by Karen Hazzahhttp://www.tower.com/writing-windows-vxds-device-drivers-karen-hazzah-paperback/wapi/109010721[^]Developing Windows NT Device Drivers: A Programmer's Handbook by Edward N. Dekker & Joseph M....
29 Mar 2013 by Jack123sweet
Hi.. Watch the youtube video link below for a beginners tutorial about Device Drivers .. www.youtube.com/watch?v=zVePBdqu2x0[^]
6 Jul 2016 by Shijin Chandran
Hello,I am trying to run a custom made kernel mode driver on a windows 7(64 bit) machine. The driver service was started but the IO control request returns error.The getlasterror() returns error code 24.ERROR_BAD_LENGTH 24 (0x18) The program issued a command but the...
6 Jul 2016 by Richard MacCutchan
Solution: DeviceIoControl returns error 24.[^].
1 Oct 2013 by Joe Marley
An example DLL that can be used for Deferred Custom Actions in WiX/MSI or from a standalone app.
9 Feb 2013 by dachazz
HiI am making a program for my mouse driver on a console in vb.net. I have the driver extracting from the program and into where it needs to go. But what i found out was that in order for the changes to take place the driver has to be disabled and then re-enabled. I found this out by going...
9 Feb 2013 by Dave Kreskowiak
I think you're wasting your time. What are you doing that is screwing up the mouse that you have to disable the driver and reenable it?Wouldn't your efforts be better used fixing the problem instead of working around it?
19 Nov 2010 by yuriyb_ua
Hi all,Is it possible to retrieve disk's serial number which included to the physical RAIDX with using hardware controller?Any ideas are welcome.Thanks in advance.
21 Nov 2010 by GPUToaster™
Try this article...might be useful.[^]
6 Aug 2014 by Don.Coleone
This is the link to the software:USB Flash Block/UnblockIt will be very helpful for you to tell me anything related to this topic! For now, even a little bit idea has rejected me. Could be tough...At least for me, maybe not for U! So please tell me anything(Doesn't need to be an integrate...
8 Aug 2019 by OriginalGriff
Contact the people you got the driver and / or kit from: they have access to the code, we don't!
13 Dec 2011 by Oddtree
Hello,Has anyone tried to write a driver or used API to display internal structure light from a DLP Pico Projector Development Kit v2.0 on a Windows XP or Windows 7 OS?This device consists of a HVGA chipset from Texas instrument and an HDMI input of I2C protocol.More information is...
7 Jan 2012 by Member 1952468
If you use nVidia display card, you can simply use NVAPI to communicate with I2C bus.
5 Nov 2012 by lilyNaz
Hi,I wrote a driver which hooks ZwQueryDirectoryFile and hides a file, "o.txt", but when I access "o.txt" directly using its name (which of course I know), for instance, when I try to delete it in command Prompt using >del o.txt ,the system crashes and I see the blue screen. What should...
5 Nov 2012 by Barakat S.
You should start learning how to debug your driver and do driver crashes analysis. A good place to start with: http://www.dedoimedo.com/computers/windows-bsod.html[^]. You will find many articles, technics and tools there on the Internet regarding this topic.
10 Feb 2016 by Shijin Chandran
I have downloaded mdd from https://sourceforge.net/projects/mdd/ including source code. Its good but i couldn't understand the driver loading into the system. I found driver files for mdd in the folder.It has been told that dumping uses a custom driver. But don't see any session of loading...
2 Sep 2012 by Apriorit Inc, Semyon Boyko
Simple driver for Linux OS that performs hiding of the selected files from the system
12 Jun 2012 by montu89c
We have a USB functional driver for our smart card reader. We installed the driver through a cab file generated using CabWizard. The cab installation/uninstallation works perfectly under Windows CE 5.0 and 6.0. In case of Windows CE 7.0, only installation works, uninstallation fails with the...
9 Apr 2013 by Joe Marley
This gives an example on how to install drivers using Wix, including the use of deferred custom actions.
24 Mar 2016 by Wshwilfried
Hello, I have a generic table which content needs to be saved at some point to file as I receive shutdown notifications in a driver.To do it I currently enumerate elements one by one and save them to file. My question is: Is there any way to save it faster without having to iterate through...
24 Mar 2016 by Patrice T
Quote:To do it I currently enumerate elements one by one and save them to file.It will be complicated to suggest something else without details on that table.There is different solutions depending on:- structure od the table.- static or dynamic or frequency of updates.- table size.
17 Apr 2018 by Kyudos
Can someone point me at the APIs I'd have to use to list the loaded Kernel mode drivers (*.sys files)? The way that Process Explorer does for the System process. What I have tried: Googling without success. I found this Windows kernel | Microsoft Docs[^] but there are thousand of functions...
1 Aug 2017 by MinYoung Lee
I want to enumerate all of the process id running on my system by using EPROCESS structure but the problem here is, I do not know how to access to the UniqueProcessId field in EPROCESS structure. Now, I've got the pointer to EPROCESS structure by this function PEPROCESS Process;...
1 Aug 2017 by Jochen Arndt
How is PEPROCESS defined? If you have the full structure just access the member: PVOID UniqueProcessId = Process->UniqueProcessId; If you know the offset and the type, cast Process to a byte or char pointer, add the offset, cast the result as pointer to the field type, and get the value:...
2 Sep 2012 by mistryshailesh
where can i find drivers for epson lq 1150 ii for windows 2003 server?I tried searching for it on epson official website, but can't find it.Can anyone help me find the said drivers.Thanx in advance.