The target driver im building is not a native driver but a minidriver working with Microsoft Universal Pinter Driver
According to DDK:
Descriptions of these items [fonts in my case] are
placed in a resource DLL, as described
in the Platform SDK documentation.
It then goes on to say:
In the printer's resource DLL, specify
...
Forgive me for being a complete newbie with Windows DDK.
I have create a simple file named test.cpp:
#include <windows.h>
#define BAD_ADDRESS 0xBAADF00D
int __cdecl main(int argc, char* args[])
{
char* p =(char*)BAD_ADDRESS;
*p='A';
return 0;
}
In the same directory I created a sources file like this:
TARGETNAME=test
...
Hi!,
I want to write a driver (in c) that can "catch" the events for reading and writing on hard disk. My problem is that I do not know how can I listen the system bus to treat these events. I use Microsoft DDK.
Thank you!
...
I'm not familiar with kernel driver development, so I want to know if there are other easy ways to add a virtual driver like CD Emulation in Windows Explorer.
...
HI,
Can I start another application from a driver code? The code is written in C and compiled with DDK.
...
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 joystick.
There is an existing program called PPJoy which does the same thing but sadly its closed sou...
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 others who may experience this same problem, I am documenting it here.
Error:
"fatal error U...
Hiyas,
The link to the Windows 7 DDK (or WDK) is not something I seem to be able to get to.
I need to write a driver that will convert the content to XPS and then do something with it. The "do something" is easy, but its the first part I'm not sure of.
I found links to the Win7 WDK but as I said above I can't get to it (my company has ...
I need to create a WDM driver that emulates a device that is not present. The driver needs to be loaded when the O/S boots, opened and closed via SetupDiXXX and CreateFile, needs to respond to DeviceIoControl, etc.
I have the driver coded, but XP refuses to load it. The system event viewer says:
The MyDevice service failed to
sta...
Hello
How to write simpliest audio virtual device driver in WinXP? I know that one way is to write a WDM driver but I suppose it is not an easyly task. I need to implement some audio filtering for a Flash based application. Unfortunatelly it seems that it is the only way to do it - outside a Flash, by a device driver, then a Flash app c...
I'll try to be brief, but fully descriptive:
This is Windows-specific. Using the Windows Driver Development Kit (DDK).
I am writing a Kernel Mode Driver (KMD) for the first time, having no prior experience in Kernel Mode. I am playing around currently with the "scanner" mini-filter sample which comes with the DDK, and expanding upon it...
Hi there!
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 tried to load it on a ia64 Windows7 machine it didn't want to load.
Then I tri...
How can I get the value from the following DLL? offreg.dll.
In my below code, I have successfully opened the hive, the key and now I am trying to get the value of the key and I keep running into the ERROR_MORE_DATA (234) error.
Here is the C++ .dll:
DWORD
ORAPI
ORGetValue (
__in ORHKEY Handle,
__in_opt PCWSTR lpSubKey,
...
Hello,
Many Zw* functions that work with files (such as ZwCreateFile) need to be called at PASSIVE_LEVEL with APCs enabled: http://msdn.microsoft.com/en-us/library/ff566424%28VS.85%29.aspx. This is because, internally, I/O operations are asynchronously and the completion of an operation is delivered through an APC (correct me if I'm wro...
Hello,
in many cases callbacks registered by a mini-filter (pre/post operations) are called at PASSIVE_LEVEL. In case the pre-callback decides that it needs to do some work after the completion of some operation, it will ask the filter-manager to call the post-callback for that operation.
The documentation states that if the pre-callba...
I've been learning how to write drivers with the Windows DDK recently. After creating a few test drivers experimenting with system threads and synchronization, I decided to step it up a notch and write a driver that actually does something, albeit something useless. Currently, my driver connects to my other computer using Winsock Kernel ...
In Verifier Dialog, there is a window to select drivers to verify.
The list control has 4 column.
1. Verify?
2. Driver name.
3. Provider
4. Version
My driver's provider and version are represented as "unknown".
I don't know how can I set these values.
Where can I set this value? By SignTool? Or Resource file?
Yes, this is not a big ...
Hi Guys,
I have a very simple application in VS.NET 2002 (C++) that calls a function from a DLL. The DLL is built with WINDDK and MSC_OPTIMIZATION is set to /Od /Oi
When I try to step into the exported function from the DLL it fails. I then tried to load the symbols from the PDB file generated by WINDDK (XP Checked environment), but I ...
hello all,I am trying to include the header but its unreconized..Do I need to change any project settings..help me please!!
...
Is it possible to develop a Windows driver (specifically a PDF-like printer driver that displays the data on-screen instead of actually printing) without using Visual Studio? I'm thinking of using free C++ tools such as MinGW/gcc.
...