Tech Support > Microsoft Windows > Drivers
support grayscale 8bit image in video capture device
Posted on September 15th, 2005 | 4 Comments

We would like to support grayscale 8bit image in video capture device like UsbIntel. We can support UYVY format image. I changed KSDATARANGE.SubFormat into MEDIASUBTYPE_RGB8...

Implementing a privileged IOCTL
Posted on September 15th, 2005 | 4 Comments

Hi, My device driver strives to be secure and prevent the user from causing any damage to the operating system through its commands. Most of my IRP_MJ_DEVICE_CONTROLs and IRP_MJ_READ/IRP_MJ_WRITEs...

Detect a USB device through software
Posted on September 15th, 2005 | 1 Comments

Is it possible to detect the presence of a USB memory stick through software? I have a problem with my PCs detecting memory sticks on boot up. Some of the sticks work fine and some of them arent...

Bad INF, how to clean registry now?
Posted on September 15th, 2005 | 6 Comments

Ok, we got a bad INF file from a contractor and it's causing Windows 2000 to try and load the "bad" driver when the device (a USB device) is connected. Attempts to fix the registry by deleting the...

ExallocatePool and ExFreePool
Posted on September 15th, 2005 | 1 Comments

If I use 1 byte pointer to allocate more than 1 byte space, could it have problem when free the space ? I mean, does system know how many bytes should be free ? For...

64bit issues
Posted on September 15th, 2005 | 9 Comments

After years of procrastination I finally upgraded my development environment and test lab to support 64bit builds and test systems. That's the good news. The bad news is that the 3790 ddk x64...

Help! returns INVALID_HANDLE_VALUE when CreateFile() called
Posted on September 15th, 2005 | 1 Comments

Hi, We written a win2k plug n play driver for pcmcia 16 bit PC card.From my application I want to open a handle for our device. In my Application I used SetupDi* functions to get the Device name....

how to create a virtual drive by a code
Posted on September 15th, 2005 | 2 Comments

Any WIN32 API or driver interface allows to create a new drive letter based on a selected folder ? Thanks -Gary

DriverVerifier Problem...
Posted on September 15th, 2005 | 0 Comments

Hi, Introduction ******************* I have created a FSFD and a function driver that communicate with each-other, the function driver receive requests from user-mode application and on some...

access to a printer via serial comport
Posted on September 15th, 2005 | 0 Comments

Hi, i am writing a languagemonitor. And i want to send and receive specific commands and data from printer wich is connected via serial comport. But i can only receive data if the printer prints a...

WRITE_REGISTER_UCHAR WRITE_PORT_UCHAR
Posted on September 15th, 2005 | 8 Comments

Hello: Are WRITE_REGISTER_UCHAR and WRITE_PORT_UCHAR identical ? If no when each of the should be used ? I need to write to 0x278( known as data register of LPT1 ) and wondering which is the...

Fail to use IRP_MJ_READ to obtain HID report
Posted on September 15th, 2005 | 1 Comments

Hi, In the DDK help file, it advises to use IRP_MJ_READ to continuously obtain input reports. I am using Firefly to send the MJ_Read Irp and expecting to get a STATUS_PENDING in return. While I...

UsbBuildInterruptOrBulkTransferRequest
Posted on September 15th, 2005 | 5 Comments

You don't specify what type of endpoint or speed you are using. If it is bulk, then the only valid packet sizes are 8, 16, 32, 64 or 512, so a 1 or 2 byte transfer would be invalid. Also, if you...

How to get the bios version of graphic adapters
Posted on September 15th, 2005 | 1 Comments

Hi all Are there anyone who know how to get the bios version of graphic adapters? Thank you. Regards, Eva

NdisSend not working for WAN Packets : Solution ???
Posted on September 15th, 2005 | 1 Comments

Hi All ! Probably i am bringing forth a known but undocumented issue. "NdisSend works great on ethernet, but packets just loop back when trying to write to a WAN (modem) card. This is because Only...

SCSI Processor Device Driver
Posted on September 15th, 2005 | 9 Comments

We have a legacy driver for NT to communicate with a piece of custom hardware. This hardware doesn't seem to fall into any of Microsoft's existing classes (at least I don't think so, but you've...

Sample PC Card Client Code for WinCE - Where Do I find it?
Posted on September 15th, 2005 | 0 Comments

Hello, Where would I find some sample PC Card Client Code for Window CE 4.2 and Windows Mobile 5? Mark

IFSKIT for the masses
Posted on September 15th, 2005 | 10 Comments

Do I am reading correctly? The IFSKIT is now included with the WDK? It is already included in the beta version available in the subscribers download area?

Problems retriving Device Handle
Posted on September 14th, 2005 | 1 Comments

Hello, We are writing a DLL which is to be loaded by a main application (3'rd Party, for which we do not have the source code) . That main application retrieves a handle to a Camera device driver...

Problem with USB driver and multiple devices
Posted on September 14th, 2005 | 4 Comments

Ok, this is a weird one... I have a custom driver for a USB interface on a device. If I only have one of my devices attached, the driver works wonderfully... but (you knew there was a "but",...