Our disk's driver run properly compiled for 32bit and not for So building by WDK is - how to say - we have interesting result :-P I rebuild driver by WDK without errors and warnings - but when I try to start this driver, system freezes (without BSOD etc.). I test it on Win 7 prof. 64bit (update). Compile by WDK 700... (new) on the same system (and try by WDK 600... on XP ... 9 Mar 2010 14:40
kernel base address Is there a canonical way to determine the base address of the NT kernel (or at least an undocumented but stable way) targeting Windows 2003 SP1 and later? Regards, Rossetoecioccolato. ... 4 Mar 2010 14:41
MmAllocateContiguousMemory and non-paged pool size MmAllocateContiguousMemory will fail because the physical memory needs to be Contiguous! So the odds of getting a contiguous block of memory of size X are much higher than getting size X random pages. You should never go near MmAllocateContiguousMemory unless your adapter needs it, because if you do you are t... 5 Mar 2010 23:59
driver installation failed in xp with 7600.16385.0 build environme Hi, I am using 7600.16385.0 WDK build environment for building the driver, used the xp build env for 32 bit OS(xp, vista, win7) and server 2003 for 64 bit OS. DPINST tool is used for installing the driver. Problem: ---------- Driver is installing fine in win-7 32 & 64 bit OS with above build environments B... 4 Mar 2010 08:58
Service installation section in this INF is invalid Hi, I am new to Device Driver Development. I'm learning the basics to understand. I need to develop a USB driver for our company device which has to perform bulk transfer. I tried the usb, umdf samples present in the WDK. I modified the files under step 4 and tried installing in win XP. I used free build. I'm g... 4 Mar 2010 02:21
KeDelayExecutionThread in 64-bit drivers The following code does not work (does not delay execution): __int64 WaitIn100nsUnit = - n100nsTimeCount; KeDelayExecutionThread(KernelMode, FALSE, (PLARGE_INTEGER)&WaitIn100nsUnit); while the following does work: LARGE_INTEGER WaitIn100nsUnit = RtlConvertLongToLargeInteger( -1 * n100nsTimeCount )... 5 Mar 2010 05:04
SetupDiOpenDeviceInfo - adding devices based on wildcard chars Hi, I'm trying to add device instances to a DeviceInfoSet using SetupDiOpenDeviceInfo(), but the DeviceInstanceId parameter is not accepting any wildcard characters in it. For example, I want to add all device instances with "USB\\MyVendorID\\*" or "USB\\MyVendorID\\0000" if 0000 could match anything perhaps... 4 Mar 2010 13:32
How to use WdfDeviceIndicateWakeStatus? Dear all, I'm developing a set of WDF-based drivers for a specific bus like USB. This bus has several levels. Each level node works as "hub", except the terminal leaf device. In order to save power, all devices, hubs and terminal leaf devices, can enter D2 while system is still S0. Only the terminal leaf devic... 3 Mar 2010 22:01
MmAllocateContiguousMemory and non-paged pool size The documentation on MmAllocateContiguousMemory says that it attempts to allocate memory from the non-paged pool, and if this fails then "it attempts to perform the allocation from available unused pages". Firstly, what on earth does that mean? Secondly, will the memory "from available unused pages" still be ... 4 Mar 2010 07:51
IoSetDeviceInterfaceState problem when used with multiple instance Hi - I am using an interface to signal an application from a kernel driver. The driver call IoSetDeviceInterface state to change the status which is monitored by the application via WM_DEVICECHANGE messages. With a single instance of the interface everything works fine. However, with multiple instances of th... 3 Mar 2010 18:41 |