device-driver

Problem with compiling the Windows Filtering Platform Code ....

Problem with compliation of the code ?? (I am new to developing drivers, have modified the inspect sample and ran some code successfully but is there any alternate way other den modifying sample code provided) #include<windows.h> #include<fwpmu.h> #include<stdio.h> #pragma comment(lib, "Fwpuclnt.lib") // Some application to use f...

Problems with debug DLL for device driver in VS2008

Hi, I'm working on migrating device driver for a specific device to windows7. For that I need to re-build old project using VS2008. I used the release exe and DLL to start up device loader and device driver. But services didnot start up. Even with the debug exe and DLL device loader and device driver did not start up. But, when I actual...

Debugging the solaris 10 sparc device drivers with gdb

How can we debug Solaris 10 (Sparc) device drivers like we debug user processes using gdb? ...

Accessing a Panatone Huey via Python

I have a Panatone Huey, a monitor calibration probe (device you attach to the monitor, and it gives you colour readings) - I want to get readings from the device in Python. Having never written such a device driver before, I'm not sure where to start. I've found are two open-source C/C++ projects that interface with the Heuy - ArgyllCM...

How to link to NTQueryKey in Kernel Mode

For the life of me I can't figure out how to resolve the declared NTQueryKey value in my device driver. I looked for a device driver forum, but didn't find one. Can someone point me to the right place? OSR isn't very responsive with dumb questions like how to link to NTQueryKey. Here is my prototype: NTSYSAPI NTSTATUS NTAPI NtQueryK...

Listening to DigitalPersona fingerprint scan event when the desktop is locked?

Just wanted to know is there a way to listen to Digitalpersona's finger print scanner events then the desktop is locked. At the moment is not working. did anyone try to achieve this by writing GINA ? ...

How can a device driver be EXE like Process Monitor

Process Monitor and Explorer are supplied an EXE file. But they include a driver. -Where is it. By Windows Internals, Process Monitor works by extracting a file system filter device driver from its executable image (Procmon.exe) the first time you run it after a boot, installing the driver in memory, and then deleting the driver i...

DDK/WDM import wink32.lib into driver

Hi everyone! Recently I was trying to use W32pServiceTable in my driver. I did imported wink32.lib in SOURCES: TARGETNAME=exp TARGETTYPE=DRIVER TARGETLIB=$(DDK_LIB_PATH)\win32k.lib SOURCES=Experimental.cpp MSC_WARNING_LEVEL=/W3 And I declare in source file: extern PDWORD W32pServiceTable; But I am getting symbol unresolved. I read...

DeviceIOControl() failing with error 50! HELP please.

Hi I'm very new to communication with Windows Device Drivers. :) I'm new to the forum too, I will be helpful if someone help me. A) I need to communicate with a third-party driver. I see that CreateFile() accept both the device name (such as \\.\DeviceName) and also I can call the full file name (such as \\.\C:\MyPath\DriverName.sys)....

CreateFile not returning a proper Handle - devices in Delphi

Hoping to find somebody that has experience with services in windows. I am trying to use the NdisProt driver for ethernet adapters in Delphi my_Handle := CreateFile(PChar('\\.\NdisProt'), GENERIC_WRITE or GENERIC_READ, 0, nil, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0); (have tried with \\.\\NdisProt too) After execution my_H...

Problem in sangoma A200

hi, I faced the same problem I installed Elastix1.6 and I have a Sangoma A200 card with 4 FXO ports Elastix didn't find the card (System --> Hardware Detection --> Detect Sangoma hardware ) I cannot execute the command"sangoma-setup", when I tried that the result was:-bash: sangoma-setup: command not found also I try to find all commands...

ioctl calls from 32 bit application to 64 bit driver

I have to make a ioctl call to the 64 bit driver code from a 32 bit application. I have send a structure as an argument to ioctl call. I see lot of alignment and padding issues because of difference in architecture of user and driver code. Is there any way to solve this structure and padding created due to difference in architecture of u...

Windows hardware / device driver report / inventory

I'm trying to figure out, how to create a hardware inventory / report on Windows 7 including: All devices in / attached to a system. Driver / device information per device (Device Type, Manufacturer, Driver Version, Driver Date, Driver Provider, Driver Files, Hardware Ids) If the drivers is digitally signed (WHQL) / has a valid signat...

file name for the open character special device file in driver code

In solaris when open call to char special device file is made in user space, the driver's open call is called with only two parameters. 1. major and minor number and 2. flag that contains read/write etc.. Is there any way to the get the name of the opened device file in driver's open call. or Is there any way to get the name of the devic...

Recommended tools for porting 32-bit Windows driver to 64-bit one

I know that there are some static analysis tools which can figure out potential code problems in terms of porting from 32-bit system to 64-bit one. But most of them are commercial ones, is there any equivalent tool but free to use? Manually checking every line of the driver code is simply too tedious and error-prone, and if, unfortunate...