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 Updated

Driver 

19 May 2023 by Rahul@puna
Hi All, I have created a basic empty WDM driver using Visual studio and Spectre Mitigation is set to Disabled . Even after that i am getting the above mentioned error. Any Idea. The issue is not coming when I am creating sample user mode...
19 May 2023 by Andre Oosthuizen
Not my field of expertise at all, some Googling I found the following - The error is related to compiler security checks for Spectre variant 1 vulnerabilities Spectre (security vulnerability)[^]. Try the following steps(again, not my field) -...
2 Mar 2023 by Dave Kreskowiak
You can read up on the Google Translate API here[^].
2 Mar 2023 by Gcobani Mkontwana
Hi Team I want to find out how to use data frame that will show a number of url links? Second question how then will i use google_trans to translate the text from the website url is English links into Hindi? What I have tried: from selenium...
1 Sep 2022 by Randor
I don't think the QA comments supports XML so I'll put it down here. As far as I can tell your Print Capabilities needs something like this: Standard
1 Sep 2022 by CassinianSoftware
Hello, having an issue with a V4 printer driver, and not finding what I need in the Microsoft docs. Hoping someone here can shed some light on this. I'm using VS2019 (16.11.12) with WDK 10 (10.0.19041). My task is to create a 64-bit V4...
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 ...
11 Oct 2021 by alsecc
Hi, I'm developing a kernel driver for Windows and recently MS deprecated the procedure to sign drivers, see...
7 Oct 2021 by User 9916080
This maybe what you are looking for. From Google: Epson TM-T88III Drivers[^]
6 Oct 2021 by DoingWork
How to Configure EPSON TM T88III Printer in Win7 with USB to Paralell Converter. What I have tried: I have connected Printer via Parallel to USB Converter. I have Virtual Serial Port. In Devices and Printers: I click to Add Printer. Selected...
6 Oct 2021 by OriginalGriff
Try here: TM-T88III software - Epson[^] If it still doesn't work, you may have to get a bus-mounted parallel port instead of USB - but the chances are that a new printer would work out cheaper in the long run ...
13 Aug 2021 by Richard MacCutchan
This is an impossible question to answer in a Quick Answers forum. You need to do your own research into the hardware and software that you are trying to work with. You could also look at Download the Windows Driver Kit (WDK) - Windows drivers |...
6 May 2021 by honey the codewitch
Explore the inner workings of a highly capable IoT display driver for the ESP32
3 May 2021 by nkm00e
I want to ask if it is possible to intercept the document data that is sent to the printer. I want to save the data into a text file without interrupting the print queue. What I have tried: Is it possible to do it with a VB .NET script?
3 May 2021 by Richard MacCutchan
I gave you the answer yesterday at Is it possible to intercept data sent to a printer via usb cable?[^]. Reposting the question will not change the answer. And, no, it is not possible to do it with VB.
3 May 2021 by OriginalGriff
It's possible, yes - but it's going to be really, really difficult. You'll need to start here: RedMon - Redirection Port Monitor[^] (or find something similar) and then "decode" the printer output (as it isn't sent to the printer in the form of...
15 Mar 2021 by Rash24Agg
Hi, I am a newbie to this platform and also to running MS Office applications with .Net. I am trying to export data from datagridview to excel sheet on click of a button. Here's my code : Dim xlApp As...
15 Mar 2021 by Richard MacCutchan
You are trying to use the Excel ApplicationClass to initialise the Application object: xlApp = New Microsoft.Office.Interop.Excel.ApplicationClass It should be: xlApp = New Microsoft.Office.Interop.Excel.Application
12 Mar 2021 by Richard Deeming
Rather than using Office Interop, use a library which creates an Excel file directly. That way, it doesn't matter which version of Office your users have installed - your code will still work if they don't have Office installed at all. ...
20 Feb 2021 by Stan Huang
My platform is ubuntu 11.04 / iMx6. I would like to verify a printer. When I tried to install a USB Printer driver, usblp.ko with command: "insmod usblp.ko", I got response of"insmod: error inserting 'usblp.ko': -1 Invalid parameters"I found some discussions about similar phenomenon;...
12 Oct 2020 by Member 11819551
We are working on WHQL Certification for fingerprint device. We are able to pass all the testcases except Fingerprint Reader Logo Tests. We get stuck at the point when the test prompt to "swipe finger to select sensor.." No response on scanning...
21 Sep 2020 by Gagandeep1996
I want to send receive a audio stream on my pc and put that data into windows virtual mic. Basically I want replicate WO MIC's application stack but I want to understand every single part of the design. What I have tried: I have built the...
19 May 2020 by KarstenK
The obvious reason is that the ID is invalid. A common reason is your process hasnt the rights to access it. Try as admin. A system process has some special rights so even an admin process may have problems. Try to create some memory with lower...
19 May 2020 by Member 14771100
Hello, my ultimate goal is to try and read virtualmemory from a process. Currently I have spawned a System thread that's running in a selected process. here is a sample of code i thought would work MEMORY_BASIC_INFORMATION* memory =...
23 Apr 2020 by KarstenK
Your error description is to unspecific. My best tip is to restart development from the scratch because it looks like some severe bug like mismatched handle or access rights. Read the Building a Basic v4 Printer Driver documentation and start...
23 Apr 2020 by Member 14770565
My syftem configuration OS: Windows 10 pro Microsoft Visual Studio Professional 2019 (Professional) Version 16.5.4 WDK version: 10.0.18346.1000 Driver install - deploy - I am using manual configuration instead of automatic(provision) I have...
17 Apr 2020 by Jason Hodge
Hello. It looks like you need a thread safe collection which ensures data integrity, prevents deadlocks etc. Checkout Concurrentbag i.e https://www.dotnetperls.com/concurrentbag[^] Thanks Best Regards Jason
9 Mar 2020 by Member 7713421
anyone find a solution to this? Experiencing the same thing with clickshare and not showing a WPF application. All other apps are showing fine.
9 Mar 2020 by JamesHadleyChase
Hello All,I use an Intel powered Dell laptop to run my application built using WPF 4.0 on Windows 7 64 bit OS.Problem:When I connect a secondary monitor to the laptop or plug the laptop to a projector, the WPF application behaves very strangely. Few of the controls like the Listbox,...
9 Mar 2020 by Member 11819551
We have our fingerprint device which is working properly as USB device. Data capturing works fine with our proprietary application. Currently we are using custom vendor USB class for driver development. When we plug this device, this device...
9 Mar 2020 by KarstenK
When reading the Microsoft Biometric Devices Design Guide the framework will work starting with Windows 7 up to 10. So it should work. But take care when choosing the device class because of its implications. Check out the sample code provided...
24 Feb 2020 by abbasshaikh
Hi, I am new to windows driver development. My requirement is as user click on print file (pdf etc) option a another popup should displayed with some input textboxes. As user click submit button on popup. It prepend the popup textbox (user...
20 Oct 2019 by Michael Haephrati
The attributes of a MiniFilter Driver (and for that matter, any Driver), are encapsulated in its .INF file[^] . One of the sections in the .INF file is the DestinationDirs section, which according to Microsoft is optional. Most examples I have seen use value 12 (or 11). 11 - %windir%\System32\...
20 Oct 2019 by RickZeeland
See: Using Dirids - Windows drivers | Microsoft Docs[^]
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!
8 Apr 2019 by Dave Kreskowiak
You're not writing a single app. You're writing a driver that exposes an interface for an app to talk to it and behave like a normal joystick device driver on the other side. Another application is needed to tell the driver how to behave, such as stick positions, button push and release, ......
8 Apr 2019 by Member 14219358
First Issue: to much Info about Driver Dev. is just way to old. There is s Game whit lots of Inputs, like Anlaog axis blabla. What i want to do is create some simple GUI, not to fancy not that big of a problem. But it needs to act like a gamecontroller in the windows Device Manager. For...
4 Mar 2019 by Apriorit Inc, Artem K.
A clear overview on how you can establish communication between a device and its driver
1 Mar 2019 by Apriorit Inc, Sergii Kusii
18 Feb 2019 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
27 Jan 2019 by Member 14130865
for (auto entry : directory_object->HashBuckets) { if (entry == NULL) continue; if (success == true) break; i tried a lot of foreach loops non of them has worked. am re - writing my kernel driver from c++ to C What I have tried: #define for_each_item(item, list) \ for(T * item...
27 Jan 2019 by CPallini
It depends on very nature of the HashBuckets variable. What is it, exactly? You didn't provide any insight about. I suggest you to NOT obfuscate C code behind macros. Wtite clean C code instead of trying to mimic the C++ counterpart.
27 Jan 2019 by steveb
Simpler way struct Orginal org = {0};
27 Jan 2019 by Member 14130865
by the way am developing my kernel driver i know c++ but am new to C syntax thanks for helping in advance What I have tried: first i had my struct in my .c file but i want to initialize my vars in global space instead of giving my vars to local. so i have tried to do it this way in my...
26 Jan 2019 by OriginalGriff
now org is (incomplete type is not allowed) C - just like C++ - is case sensitive, so original is not the same as Original. Try: struct Orginal { PDRIVER_OBJECT driver_object; // NULL PDRIVER_UNLOAD unload; // NULL PDRIVER_DISPATCH major_functions[IRP_MJ_MAXIMUM_FUNCTION + 1]; //{ NULL };...
26 Jan 2019 by Rick York
Your attempt had a seperate instruction so it was not the right syntax for initialization. Try this :struct orginal org = { NULL, NULL, NULL, NULL, false, 0 };
18 Jan 2019 by Apriorit Inc
This article allows you to save valuable time
9 Jan 2019 by Horane Jo
I'm building a software which can capture the screen efficiently, I tried DC(BitBlt), D3D(GetFrontBuffer), but each of them would cost me more than 40ms to capture a full screen(1680*1050, it might be more at a higher resolution I guess). So I wanted to use Mirror Driver tech which was a...
9 Jan 2019 by Member 14113501
dmf_esc_usm_pipe_map is not right,change it to 1030 means map;1031 means umap...
1 Nov 2018 by Alexander Eremeev
The Windows kernel-hacking library and development framework written on C++17
13 Oct 2018 by Member 13990017
So I installed WDK and I got it installed in my Visual Studio 2017. I am trying to create a new project but don't know how to start. What I am trying to do is something like this: Detecting Windows NT/2K process execution[^] what type of project should I choose? Here's The list which I can...
13 Oct 2018 by Richard MacCutchan
The project you refer to is a simple console application, nothing to do with drivers. I suggest you read some articles on Driver development to get an idea of what you can do.
20 Sep 2018 by dmitryponv
Here is how I got mine to work. 0. cd to the build folder C:\Temp\VirtualSerial\ComPort\x64\Release\virtualserial> 1. First install the driver using the devcon command, it will fail. Devcon command is devcon install virtualserial.inf UMDF\VirtualSerial 2. Check device manager, you will...
6 Jun 2018 by KarstenK
You must completly read the documentation and implement it in that manner. Read the how to Build a v4 Printer Driver in Visual Studio to find a basic sample.
6 Jun 2018 by Dang Dinh Nghiem
I have developed a Printer Driver Version 3, now I want to change to Printer Driver Version 4. Can you suggest me how to change from Printer Driver Version 3 to version 4? What I have tried: I have read the Printer Driver Version 4 document(V4 Printer Driver | Microsoft Docs[^]), The document...
15 May 2018 by Member 13809184
Hey, I'm having an issue where I send a message to user-mode from kernel-mode using FltSendMessage that expects a reply.The struct being passed contains and int that is set to either 0 or 1. User-mode replies by setting this flag and calling FilterReplyMessage. However, when the message is...
14 May 2018 by Jochen Arndt
The posted code makes no sense and should not even compile because you are using REPLY_MESSAGE_STRUCT variables before they have been declared at both sides. The size calculation is also wrong because you are adding the size of the whole reply structure instead that of the components: ULONG...
2 May 2018 by Jochen Arndt
Your filter is working well. But the photo application is using it's own cache from where images are loaded even when the source does not exist anymore (or access is blocked by your filter).
2 May 2018 by Member 13809184
I've coded a mini-filter that blocks all JPG images with relative success. Except when the file is being opened by 'Windows Photos'. The mini-filter is registered to all MJ_CREATE's and in WinDbg I can see my code being called to block JPG images when being opened by Windows Photos. However, the...
27 Apr 2018 by SiD1989
We have a requirement to get the printer IP Address configured in the default printer driver in Control Panel in our UWP app. I was able to retrieve the "System.DeviceInterface.PrinterPortName" by fetching interface class GUID and passing this above property for retrieval. But I couldn't get...
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...
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,...
23 Jan 2018 by uurynk
i have to develop a software which will be a windows printer driver. It will be appeared in the printer list. When i sent a file to this printer, this printer will save it to a location as bitmap. How i can do that, which samples can i try or what shuold i research exactly? What programming...
22 Jan 2018 by Richard MacCutchan
Two weeks and you did not try: Google for "Windows driver development".
21 Dec 2017 by Member 13589269
I am working on a testing tool for nvme-cli(written in c and can run on linux). For SSD validation purpose, we are actually looking for sending I/O commands to a particular Submission queue(IO Queue pair). We needed this because we wanted threading, but for threading to happen we need to send...
25 Sep 2017 by Kornfeld Eliyahu Peter
Google is your friend... ...and this is probably a nice starting point: Getting started with Windows drivers | Microsoft Docs[^]
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...
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...
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:...
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;...
29 Jul 2017 by MinYoung Lee
I've been looking for a way to send the data which my device driver makes as a result to user mode application. For instance, I send a specific process id in user mode to my device driver and my device driver sends it back to in user mode after some calculation or something. My device driver...
29 Jul 2017 by Richard MacCutchan
See Getting Started with the Windows Driver Kit | Microsoft Docs[^].
20 Jul 2017 by Jose A Pascoa
The much talked about Kernel data structures
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...
23 May 2017 by Sobin Sebastian
I am trying to create Windows driver application using KMDF in Visual studio 2010 & windows 10 environment. I have installed WDK10,SDK 8.1 and SDK 10 for the development purpose and also am a beginner in driver development.Finally I have created a small application , but I am facing a problem:...
5 May 2017 by Dave Kreskowiak
Do you seriously think you're going to help building something that is only used for malicious purposes?
4 Apr 2017 by grilialex
COFILOS SD Card Driver
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.
10 Feb 2017 by vikramlinux
The TCP header + data was missing. Thanks Jochen.
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,...
18 Jan 2017 by Sergey Podobry
How-to guide about using KmTest for writing kernel-mode unit tests
2 Jan 2017 by ysrikanth_mca
Hi,we have used a open source NDIS IM filter driver( ipfw+dummynet) which is working fine in windows 7 but but not loading in Windows 10 Desktop.Ipfw web site : http://info.iet.unipi.it/~luigi/dummynet/Source Code : https://github.com/luigirizzo/dummynetLooks like NDIS 5.1 code...
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...
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...
30 Aug 2016 by Brady Kelly
I have a nice "Resource CD", with a setup.exe and loads of drivers and other file, but in the Linux Drivers folder there is just a URL, which lets you download a file that unzips to an .img file. Now every person in the linux world has a different idea or technique for what to do with the...
30 Aug 2016 by Jochen Arndt
With Linux, drivers are related to the used kernel. That means that the driver binary has to be build for the specific kernel in use.Therefore, Linux distributions include already drivers for many hardware.But problems arise when using a brand new or exotic hardware that is not supported...
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.[^].
28 Jun 2016 by Durga_Devi
Hi,I am using the 3rd party device driver (.sys file) and using window embedded standard 7 os.When i execute the funciton DeviceIoControl() for the above sys file, the return code is success but the output buffer is null. The control code used is IOCTL_MAP_COMMON_BUFFER_TO_USER (User...
28 Jun 2016 by KarstenK
You need an update of the 3rd party driver. Looks like it has some security issues to solve. Alternativly you can ask Microsoft about it and maybe they had done something wrong.I would call the the device "\\.\PhysicalMemory" in that way or change some parameter. Tip: GetLastError may...
30 May 2016 by amitrkcian
AS my development machine & my test machine are 64bit windows system with Windows 7 operating System So to give myself a head start I compiled the ComPort project under Windows-driver-samples-master/serial/VirtualSerial2 sample code provided by Microsoft, initial it flashed an error that said as...
25 May 2016 by Menci Lucio
Hi,I have an eclipse project.If I try to start it from eclipse, it fails returnong No suitable driver found for jdbc.db2.dbname.If I try to start it from command line, it runs well.I tried to search for unloaded class by the verbose command.This is when I start from command...
25 May 2016 by Menci Lucio
Hi,Thank you for your answer.I already read your second link. I was constrained to use the Legacy Type 2 driver because it was not parametrized in a non my java class:public String getDriverName(){ return "COM.ibm.db2.jdbc.app.DB2Driver";}I continuing to don't know why,...
25 May 2016 by E.F. Nijboer
Have you tried to search the web? The answer is pretty easy to find.IBM Knowledge Center[^]https://www-304.ibm.com/support/docview.wss?uid=swg21432559[^]Good luck!
25 May 2016 by George Jonsson
Writing your own printer driver is not the most easy task you can take on, but there some alternatives.You can have a look at this article for how to use Redmon and GhostscriptPDF Writer[^]Also check the comments, there are some extra information there.Redmon lets you redirect...
25 May 2016 by Member 1071888
I need to create a printer driver that will allow users (in windows environment) to print pages to a faxing web service - the driver should create a tiff file and upload it by posting it to a URL, along with some data such as a phone number and name. I am looking for a code sample that does...
20 Apr 2016 by Wshwilfried
Hello folks, I am trying to track certain files attributes modification at sector level in kernel mode. I choose this because I had troubles getting them from mini filter and also because mini filter deal with files and not sectors. So I would really appreciate if anyone here could help me...