Tech Support > Microsoft Windows > Drivers
Bug in new PREFast?
Posted on November 2nd, 2005 | 14 Comments

I get the following bug from the WDK build 5112 version of PREFast: myfile.c(405) : warning 412: Potential buffer overrun while writing to 'nameBuffer': the writable size is...

Trapping Keyboard/Mouse data
Posted on November 1st, 2005 | 5 Comments

I am currently working on a product that requires full access to the keyboard and mouse information from the drivers. We are only concerned with USB since we are building custom devices that are...

Compiler and other tools docs
Posted on November 1st, 2005 | 16 Comments

Where are the docs for the compiler and the linker? Since the DDK comes with its own build tools, shouldn't include full docs? I see of course, docs for the build utility, but not for the compiler,...

Chat: The Visual Studio Debugger, November 3rd @ 1pm Pacific Time
Posted on November 1st, 2005 | 2 Comments

The Visual Studio Debugger "Do you have some burning questions or comments about SQL, C#, VB, C++, or script debugging support in Visual Studio? Want to know more about Visual Studio 2005's enhanced...

Getting STATUS_OBJECT_PATH_SYNTAX_BAD Error
Posted on November 1st, 2005 | 0 Comments

Hi All, While doing IoGetDeviceObjectPointer after getting the symbolic name using IoGetDeviceInterfaces for a Pci driver I am getting STATUS_OBJECT_PATH_SYNTAX_BAD error. The same code works fine...

Hanging process...
Posted on October 31st, 2005 | 6 Comments

Hi, - I have written a function driver that communicate with a user-mode application, on some scenarios after unloading the function driver ( using the ServiceManager ) the user-mode process hangs...

PDO's and stack.StartDevice.AllocatedResources\Translated
Posted on October 31st, 2005 | 2 Comments

I have written a bus driver, starting with Toaster as a reference. in one of the PDO's I created, I get a IRP_MN_START_DEVICE, and I see that the stack.stack.StartDevice.AllocatedResources...

notification about insertion and removal of removable storage
Posted on October 31st, 2005 | 1 Comments

How in a driver can i get a notification about insertion and removal of any kind Of removable storage (like disk on key)? Does IoRegisterPlugPlayNotification should work ?

Installing a filter driver without reboot
Posted on October 31st, 2005 | 6 Comments

The DDK mentions that installing a filter driver in a non-WDM stack requires a reboot. The question is, what exactly is non-WDM in this context? Not PNP? Or the whole stack must be 100% WDM to allow...

sample USB mouse driver code
Posted on October 31st, 2005 | 1 Comments

Hello everyone, I want to customise my USB mouse driver behavior, so I want to modify the USB mouse driver. Now, where can I find a sample USB mouse driver code (kernel level) for windows2000 and/or...

SMBus vs I2C
Posted on October 31st, 2005 | 0 Comments

I am implementing a driver to access SMBus battery charger via I2C controller. It is very unreliable to retrieve the status info from charger. I presume that it may have something to do with the...

XP64 parallel prot device driver
Posted on October 31st, 2005 | 1 Comments

I need to port a parallel port device driver (NT STYLE) to xp64. Dows it have to be WDM driver? Thank You

what steps to make drivers ready for Vista
Posted on October 31st, 2005 | 8 Comments

Microsoft says: "Beginning with the Windows Vista operating system, users who are not administrators will not be able to install unsigned...

Win 2000, IEEE 1394 Bus. OS BSoD after Async packet reception.
Posted on October 31st, 2005 | 2 Comments

Hello, I write driver for IEEE 1394 camera. This driver works properly under Windows XP. I used No Backing Store method (it called "Pre-Notification" at DDK help) for packets reception (No MDL, no...

question about kernel mode library
Posted on October 31st, 2005 | 3 Comments

I want to build a library for kernel-mode WDM driver. It can build with VC or .NET and it work, but not sure it is correct. Should I use DDK to build this library ? If yes, have any makefile sample...

How to punt back to GDI engine in a mirror driver?
Posted on October 30th, 2005 | 8 Comments

I was trying to punt to the GDI Engine in display driver by calling EngXXX functions. For example, calling EngCopyBits in DrvCopyBits function, but unfortunately I got a blue screen. The reason why I...

DefineDosDevice : weird behaviour
Posted on October 30th, 2005 | 2 Comments

Hi all, I try to mount a virtual disk (filedisk from http://www.acc.umu.se/~bosse/) as a user (say user1 - using runas...). But within my session (I am *not* logged on as user1, but as user2), I do...

how to read "hardware IDs"
Posted on October 30th, 2005 | 8 Comments

We have a program (cant go into specifics here) where we want to read one or more hardware IDs (e.g. ethernet MAC address, CPU serial number) and use a hash of it/them as a unique identifier (its not...

General problems in adapting BULKUSB-sample for my hardware
Posted on October 29th, 2005 | 1 Comments

Hello, as I described before, my task is to communicate to a usb-device via Bulk-, Isoch-, Control- and probably Interrupt-Transfer. What happened so far: First step was to use a evaluation driver,...

duplicating packets in passthru
Posted on October 29th, 2005 | 0 Comments

In passthru IM driver MPSend() function is for every sending packet done following: 1. Allocating new packet...