How to get an assembler file to be compiled and linked into a driver build.
To clarify a bit
The SOURCES file :
TARGETTYPE=DRIVER
DRIVERTYPE=WDM
TARGETPATH=obj
TARGETNAME=bla
INCLUDES=$(DDK_INC_PATH)
TARGETLIBS=$(DDK_LIB_PATH)\ks.lib
SOURCES=x.cpp y.cpp z.asm
The problem occurs with the z.asm file. NMAKE complains that it does no...
Microsoft distributes source code to reference implementations of their different Direct3D APIs to hardware vendors, driver developers, etc. This code builds using the ever-cryptic WDK (formerly DDK) build system, and virtually never works out-of-the-box. Though widely used, this code is semi-private, so there is never any basic helpful ...
Adding source files more than one directory away (e.g. ../../source.cpp or ../../../somewhere_else/source.cpp, vs. just source.cpp or ../source.cpp) to the SOURCES= declaration in a WDK/DDK build yields the following error:
Ignoring invalid directory prefix in SOURCES= entry
Is it possible to include remote source files in a build?
...
I've seen that Mac Drive 7 adds HFS+ and HFS support to windows for both hard-drives and CDs, which includes handling problems like the mac partition format. Clearly that must mean that file system support in windows is extensible somehow, even if it is slow. So where could someone start to write a simple (or not) file system driver for ...
I am using the Windows Driver Kit (WinDDK 6001.18001) to build my userspace application rather than Visual Studio 2005. I am taking this approach because we also have to build driver components, so I'd prefer to have a single build environment to build everything. Microsoft itself uses this approach for several products.
This was workin...
I need to intercept LPT output traffic. After a couple of hours of research, I've come to understand that the only way to do this is by writing a kernel-mode driver, more precisely a "filter driver"...?
I've downloaded the WDK, but the terminology and vast number of driver types is a little overwhelming.
I'm basically trying to underst...
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 ...
How should i know at print server whether any client has fire any command. or any way to hook into printer driver at printing driver at server
What is print server ???
How print server work in Window???
How muliple client will send request to single print server???
Is any utility is running???
Can anybody clear me on this things???
...
I am quite new to driver development and trying to write a simple filter driver that will enable or disable a keyboard or mouse device. If I can make it work, I want to use it to disable the touchpad on my laptop when a mouse is plugged in. I realize there is probably software out there that does this already, but I am really interested ...
I'm building the below example boost-consuming user-mode app with the WDK, but I'm getting the following errors when linking with the boost libraries that I built earlier using bootstrap and .\bjam, from the same terminal window.
IIUC, MSDN says it's because the (hideously mangled) function - which appears to be a C++ std lib function -...
Is there a way to programmatically install device driver silently without cat file and without connecting the device on Windows Xp?
I'm using DriverPackageInstall function from Windows Driver Kit. And I can install driver only if device is attached. In other case I get an error: ERROR_NO_SUCH_DEVINST. But that method works fine with Win...
On Windows (XP-7), is there a reliable way of programatically differentiating between USB floppy drives and USB flash drives in C++?
At the moment, I'm using WMI to get updates when new Win32_LogicalDisk instances are detected, and then using the DriveType attribute of the LogicalDisk object to figure out a basic type. This works quite ...
I'm trying to use a select all checkbox to select a column of checkboxes.
So I gave all the ones I want checked off at once the same name ABoxesElement so that I can easily check them all on in javascript.
However when I use firebug in firefox I can see that the checkboxes did not keep the name I gave them but pre-pended the component...
I read a very fascinating article that was about programming drivers using the wdk, and one of the functions it used is called ObReferenceObjectByName. This function has given me lots of headaches. The first bad thing is that it's not documented by microsoft. The second thing, is that the language used in the article was C++, and I wa...
I'm looking for a utility method to restart my video/display driver. The WDK seems like a good place to start. Does anybody know how to effect this?
...
Hi
I am currently trying to build an application, that will talk to the super IO chip using port IO. As part of that, I am trying to develop a kernel-mode windows driver that I can contact, and which will do the IO for me. I have therefore downloaded the Windows Driver Kit v7.1.0, build 7600.16385.1, and I am trying to compile and insta...
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 ...
I've previously gotten incremental builds with auto-versioning working in a team build setting for user-mode code, but now I'm dealing with the builds of WDK device drivers. It's a whole new ball-game.
I need to know what extension point, or hook, is available in the WDK build that occurs after the driver has been selected to be increm...
In the Windows Driver Kit (WDK) there are some driver code samples written in pure C, but sprinkled with some try-catch-finally constructs. Does someone know their semantics ? Thank you microsoft for your great tools and standards compliance.
Code extract from some_file.c:
try {
...
if (!NT_SUCCESS( status )) {
leave; /...
I am writing a windows filesystem minifilter driver that must fail I/O Request Packets (IRP's) in a preoperation callback based on their type (read/write).
How can I find out from the callback parameters (or elsewhere?) if the operation is read-like ( only reads data ) or it's write-like ( modifies data on the disk - write, delete, forma...