First  |  Prev |  Next  |  Last
Pages: 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
Close event with pending IO
Is it possible to get a close event on a device that has outstanding IO requests? If an application tries to close its handle to my driver, I'd like my driver to cancel any pending IO requests and let the app close down instead of hanging. I've added a close event handler with WdfDeviceInitSetFileObjectConfig, ... 21 Aug 2008 12:27
Reading descriptors from a USB device and IRP_MN_START_DEVICE
Hi, Will I be able to read descriptors (device, config and string) from a device for which IRP_MN_START device has not been sent yet? To give a clear picture, I'm referring to the usbview sample code. Lets say, I have an "unknown" (for which drivers are not present) usb device. Then if I issue a IOCTL_USB_GET... 11 Aug 2008 10:29
Problem implementing non-solid brush in UNIDRV
I am currently developing a rendering plug-in for Unidrv and am having trouble implementing a non-solid brush. I get called in OEMRealizeBrush and I can see the monochrome fill pattern fine. But I can't figure out where to get the foreground and background colors to apply to the pattern. Later in the OEMFillPat... 28 Jul 2008 23:21
storport.sys bug
If at any time IOCTL_MINIPORT_PROCESS_SERVICE_IRP is sent to a storport miniport adapter FDO in Vista or Windows Server 2008, it causes removal to hang forever. I traced this down to storport! RaidAdapterDeviceControlIrp calls IoAcquireRemoveLock, but never calls IoReleaseRemoveLock each time this particular ioctl ... 19 Aug 2008 23:31
SCSI miniport-Custom Log messages
Hi, Is it possible to generate custom error log messages for SCSI miniport driver? I tried the following but no luck: 1. Created a message (.mc) file, compiled and generated a corresponding .rc and .bin file, as per WDK and sample code. 2. Updated .inf file for event log as mentioned in the WDK and added .s... 25 Jul 2008 16:36
Mirror display driver in the multimon configuration (negative origin)
I'm trying to enable support of the multimonitor configurations for my mirror driver. I had modified mirror driver loading code to bind it to the properly initialized DEVMODE (dmPosition etc), so mirror driver binds to the entire virtual screen. Firstly, i had configured my test system with dual monitor in this wa... 20 Jul 2008 18:38
_vsnprintf problem;
I'm facing some problems while using _vsnprintf in diskperf.c. When I use: length = _vsnprintf (text, sizeof (text) - 1, DebugMessage, ap); I get a warning "warning C4995: '_vsnprintf': name was marked as #pragma deprecated". So used the safer version as: length = _vsnprintf_s (text, sizeof (text), sizeof (tex... 12 Jun 2008 15:24
WinUSB - problem sending control messages
Hello. I assigned the "WinUSB" driver to a special mouse that has some special features. (I do not want to use the mouse as mouse.) Using WinUsb_ReadPipe I can read the data from the mouse - that works. To access the special features I have to send "Set_Feature" USB requests (Class, Interface, Data directi... 2 Jun 2008 17:22
WinUSB coinstaller problem on 64-bit machines
I've constructed an INF file as described in the WinUSB "How to" document and things work nicely on 32-bit versions of XP and on Vista (32-bit and 64-bit). However, while installing the driver on 64-bit machines I noticed that the 64-bit WinUSB co-installer was not updating the 32-bit winusb.dll in SysWow64. To... 16 Jul 2008 16:09
Modifying DSF sample
Hi all, I am currently trying to simulate my USB device using DSF. As I am new to this framework I am trying to modify existing samples. I modified USBLOOPBACK sample but I am unable to generate DLL of it. My OS is XP and I just add my own code in sample loopback in src\Test\DSF\USB\SoftUSBLoopback. After this... 3 Jun 2008 20:08
First  |  Prev |  Next  |  Last
Pages: 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107