drivers

What kind of Mac driver should I need to build in order to intercept the file system?

In the Windows world I can create a file system filter (upper or lower) in order to hook my driver to action when a file is changed (for example auditing or creating virtual drives). Do you know which is the similar model in a Mac? the I/O Kit talks about driver development but does not specify the storage model or file system. Is ther...

a question regarding NTFS filter driver

hi, does anyone have an article regarding writing filter drivers for the NTFS ? another question - when im writing a filter driver for NTFS, can I just pass down my IRP using IoSkipCurrentIrpStackLocation(...) and IoCallDriver(...) when I get MajorFunction I dont want to take care of ? ofcourse the call to IoCallDriver will include a ...

problems communicating with driver from user mode

I have a driver I've written, and I created a symbolic name to it. The symbolic name is ... L"\\DosDevices\\somename" ... and when I try to access the device object using CreateFile from usermode, I always get error code 3 (Path not found). I tried using CreateFile with the following paths ... L"\\\\.\\somename" L"\\Device\\somenam...

bsod every time a handle to a driver is created

hello, im writing a driver and I have a problem everytime I try to open a handle to my driver using CreateFile, I get bsod (Access Violation) It's important to mention that my driver loads successfuly and I dont get any errors does someone knows how to handle it ? Thanks in advance! ...

build.exe and cleaning?

I'm working on some driver development and using Microsoft's build.exe tool from the WDK 6001 (Vista). I'd like to be able to clean up all the object and intermediate files it spews out on every iteration. So far, I've found "build.exe -0 -c" works relatively well, by simply deleting all the .obj files, but none of the .sbr files or dir...

Accessing a Toshiba Laptop Accelerometer Device Driver

Hi, I have a new Toshiba Satellite Pro S300 laptop (running Windows XP) which sports a 3D accelerometer for HDD protection. I'd like to tap into the data sent by this sensor. Older Toshiba laptop/Tablets had a DLL that could be accessed to extract the acceleration data. Unfortunately, the S300 does not seem to have this DLL (The DLL hac...

Windows 7 Driver for Print to XPS

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 ...

Are there any new ODBC options for Foxpro?

We commonly use MS Visual Foxpro v9.0 SP1, the language, tables, and reports. However, sometimes we use an ODBC driver to connect to the tables. The ODBC driver was written for Foxpro v6, and doesn't support certain nested selects, autoincrement fields, or embedded casts. We would like to find an alternative to what we have. It could...

How to get started with Drivers Programming under windows

Hello all I want to start learning drivers programming under windows . I never programed drivers , and i am looking for information how to get started . Any tutorials ,links ,book recommendations , and what development tool kit i should start with ? (WDF will be good one ?) I really want to program following clock link text Thanks ...

WinUSB application or User-Mode Driver as a filter driver for USB Analysis/Sniffer/Trending

A question to maybe some who have worked extensively with WinUSB APIs or use mode USB drivers - Does anyone know if the WinUSB API or a user mode driver can be used as a passive observer of USB connections, capturing notification of interrupts, control requests, data transfers...etc without interfering with other applications (such as iT...

TransactionScope won't work with DB2 provider

Hi Everyone, I've been trying to use TransactionScope with a DB2 database (using DB2 .Net provider v 9.0.0.2 and c# 2.0) which SHOULD be supported according to IBM. I have tried all the advice i could find on the IBM forums (such as here) to no avail. I have enabled XA transactions on my XP Sp2 machine, tried also from a Win 2003 Serv...

Display/LCD drivers

Can anybody tell me about techniques for buffering used in display drivers specifically in LCD's in Mobile phones ?? ...

Creating a COM Port Redirector over the Network

Hey, I'm trying to create a windows driver that allows a standard TCP/IP socket to be used like a COM Port. I am aware of a number of existing products that do just this, but can find no reference material as to how it's actually done! I understand some of the concepts of windows drivers (bus/function/filter drivers, driver stacks, etc...

How to preserve an in memory datastructure to later use it in a Unit test

Hi. In my code, I am occasionally passed various byte arrays and such. Also, they may be managed objects. I would like to preserve those memory structures so that I can write test cases against the concrete examples. My standard approach is to hit the breakpoint, use the debugger to find the various values and then either new them up o...

Smartcard Driver (KMDF with SCardLib) Issues

I'm developing Smartcard Driver using KMDF and SCardlib, I used the WDK Smarcard Sample as reference, I think I implemented all of the callbacks correctly except for CardPower and CardTracking. (My reader and card don't now support for now RESET commands and insertion of new card) When I try to run test application that invoke SCardLis...

Is there a way to drive a today's computer NIC with no underlying OS?

Hi, I would like to write an IO intensive application with no underlying OS, running on x86 architecture and driving any modern network interface controller. By having a look to Linux's drivers source code, I know that thousands lines of codes are required to drive, as an example, an Intel e1000e Gigabit controller. I think that such c...

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...

Installing Drivers via a Java Applet

Just wondering if anyone has had any experience with installing hardware drivers via a Java Applet. I'm currently writing an applet that will be accessing some hardware and will be embedded into a web page. In order to make things easier for end users I would like to have it detect if the drivers are installed and if not install them. ...

Transparent Proxy for Windows XP

I have an experimental TCP/IP stack running under Windows XP. This stack bypasses the Windows TCP/IP stack using a LSP and a NDIS IM. I now have a requirement to provide a proxy service for this to support other platforms that want to use the experimental stack. The proxy must be transparent to the clients (no client configuration). I wa...

Control USB port's power?

Does anybody know how to control USB pins on a certain USB port? I think it is definately possible in assembler but what about C++ or C#? I want to be able to use USB battery as a power supply for an LED or something like that. So then a program would power it on and power it off making it flash. I know it sounds pointless but I nee...