driver

How to understand the "NTSTATUS", "NT_SUCCESS" typedef in windows ddk?

Two questions: 1. In "ntdef.h" the NTSTATUS is defined as follow: typedef __success(return >= 0) LONG NTSTATUS; what the hell is the "__success(return >= 0)"? 2. In "ntstatus.h", STATUS_SUCCESS is defined to 0. #define STATUS_SUCCESS ((NTSTATUS)0x00000000L) // ntsubauth But the NT_SUCCESS macro in "ntdef.h" is: #define NT_SU...

Reverse Engineering a Black-Box Serial Protocol

I am currently writing an OS X driver for the NewTek LiveControl LC-11 as seen here. newtek.com/addons/livecontrol.php In the course of my reverse engineering I have found that it is using a serial to USB converter and that it communicates with hexadecimal output when a button is pushed or an analog value changes. Using this output...

i want to make screen capture device driver like this http://www.superwebcam.com/

i want to make screen capture device driver like superwebcam someone told me easyway is make screen capture source filter and register device driver this is source fileter http://tmhare.mvps.org/downloads/vcam.zip and how can i register?? not this regsvr32 xxxxx.ax ...

Register(/bind/match) a device with a driver

Hello, I am writing a usb driver (for a gamepad) on linux, and when I plug it in, ti loads usbhid. How can I make it so it loads my driver (gp_driver)? I did the unbind usbhid and bind to my driver trick, but I don't want to do it every single time. Should I have my driver already loaded? Should I code something in my driver? I have the...

How does a Windows Kernel mode Driver, access paged memory ?

1) A usermode process has its own "address context", which maps the user-mode virtual addresses to a unique collection of physical page frames. That is, the meaning of any particular virtual address changes from one moment to the next as the Windows XP scheduler switches threads. Part of work of "switching threads" is to change the page...

Windows Driver Kit: swap buffers

Hello! I am trying to adapt swapBuffers sample on WDK so that the swapped buffer is the same one than original buffer but in upper case. Modifying this lines on SwapPostReadBuffers() it doesn't work... I get execution errors. Can anyone help me to do it? THANKS // We suppose that input data are always characters in lower case. UCHAR *...

Two Spinlocks on same processor ?

Can two CPUs hold two "different" spin locks simultaneously at same time? So...does this mean: a sigle(uniprocessor) CPU cannot hold two "different" spinlocks at the same time? So...does this mean: the number of spinlocks on a single CPU cannot be > 1. PS:"different" implying spinlock associated with different memory resources. Doe...

Is it possible to make 1 pc camera work at 2 different modes simultaneously?

By mode here I mean video width,height and FPS(frame per second) I guess maybe some kinda driver can manage to do this? ...

Is there something like filter driver for Mac OS X?

Windows lets you develop a filter driver to catch file I/O's on VFS. But I can't seem to find something similar for Mac. It does have something called Filter Schemes, but those are for HFS+. Anyone know if there is a way for me to intercept file I/O's on Mac without using programs like MacFUSE? ...

WDK : get processId by name.exe

Hi, I'm developing a driver in Windows Filtering Platform and I need the process ID of another process to do what I need to do. I know only the file name of that process (name.exe). In win32 I could use the function CreateToolhelp32Snapshot to get the list of all processes and I could search the PID there. ( http://msdn.microsoft.com/en...

Developing a kernel patch or driver for windows?

How long, approximately, would it take to develop a kernel patch or driver for the windows NT kernel/series of kernels, that would introduce new functionality, or replace existing functionality? For example, to add in a different encryption algorithm, or to implement some sort of new security model. What are the advantages/disadvantag...

Is there a replacement for browser plugin(maybe a driver?)?

The reason I don't want to go the browser plugin way is that you need to implement it for various browsers. Like xpi for firefox, browser helper object for IE. My target platform is only windows, and I just want the alternative of browser plugin to call a client side programe after instructed when the user is browser the web page. Is ...

How to log Mac OS X graphics card driver

In my Mac OS X application, I would like to log the user's graphics card driver and model. What is the appropriate API to use? ...

Is there a listing of the video drivers in the Linux kernel?

I'm trying to pick an small (< 4") touchscreen TFT/LCD. Because I'm no stranger to LCD/TFT linux driver development (I did one for an Epson chip), I'd rather pick one that is supported directly by the kernel. Is there a listing of the video chipsets that Linux natively supports? ...

How to write a driver that "converts" an IPCam to a pc camera in windows?

So that the IPCam can be accessed as if it's a normal pc camera. I'm pretty new to this, any advice is greatly appreciated! ...

Error 42S02 from the Microsoft Drivers for PHP for SQL Server

Hi I am trying to extract some data from a SQL Sever database via PHP using the Microsoft Drivers for PHP for SQL Server. Some tables I can retrieve fine but others give the following error message: Array ( [0] => Array ( [0] => 42S02 [SQLSTATE] => 42S02 [1] => 208 [code] => 208 [2] => [Microsoft][SQL Server Native Client 10.0][SQL...

How to use multiple Cameras with TouchLib

Hi there, has anyone ever used multiple cameras with the Touchlib? Seems to be working somehow, i found a blog article about the multi-camera setup by some guy called Alex Popovich in a blog entry. In the article, they are talking about custom PS3 Cam drivers, which sounds great because i am using PS3 Cams, too. But i started to think,...

Networking from a Kernel Mode Driver

Hi, The question is pretty self-explanatory, I require the ability to open and control a socket from a kernel mode driver in windows xp. I know that vista and after provides a kernel mode winsock equivalent, but no such thing for XP. Cheers Edit I've had a recommendation to have a user-mode service doing the socket work, and one to u...

GPS intermediate driver...

I am writing a program that should take several GPS coordinations and do some processing on them. I assume the server on which the app is going to be installed should be equipped with a gps receiver. I am quite new to GPS things. 1) One of my question is that does the GPS receiver store the gps coordinations temporarily to be used in a...

Using the ndisprot example driver (in the WDK) with C++

Hey all, I have compiled succesfully the ndisprot example ndis driver that came with the Windows Driver Kit, but I don't know how to use it from C++ to send or receive packets. Could someone instruct me on how? ...