|
difference between \\\\.\\%c:" & "\\\\.\\PHYSICALDRIVE%d" In application we call the creafile as follows where pVolumeInfo->Extents[0].DiskNumber is the value obtained from IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS ioctl. swprintf(pathBuff, L"\\\\.\\PHYSICALDRIVE%d", pVolumeInfo->Extents[0].DiskNumber); hDevice = CreateFile( pathBuff, GENERIC_READ|GENERIC_W... 7 May 2008 10:45
Number of IRPS I am writing a virtual disk driver which uses a file as a virtual disk. The disk file can be mounted with a drive letter and normally used. Internally, ZwReadFile and ZwWriteFile in the dispatch routine for IRP_MJ_READ and IRP_MJ_WRITE do the job to write on and read from "disk". As far, everything works fi... 7 May 2008 09:06
How to broadcast messages to all application in co-installer entry point in Vista? I'm writing a co-installer for my driver and I need to broadcast a private message to all running applications in the entry point. I use the BroadcastSystemMessage api as below: DWORD dwRecipients = BSM_APPLICATIONS | BSM_ALLDESKTOPS; BroadcastSystemMessage(BSF_POSTMESSAGE | BSF_IGNORECURRENTTASK, ... 7 May 2008 05:39
Access Denied openning device in user mode I have a driver that I have installed on two different machines running XP Professional. In the first machine, logging on as power user, I can open the device. In the second, again as a power user, access is denied trying to open the device. ... 7 May 2008 02:29
Ramdisk with Vista SP1 Hi, I installed the wdk 6.0 6001.18001 on Windows Vista SP1, then I compiled the exmaple of the ramdisk. After I installed the driver, i noticed that the disk are not accessible via the explorer nor the cmd. But if I launch the cmd via the administrator rights, i can access the ramdisk drive. How I can do ... 7 May 2008 00:54
WPP & KMDF Crash I have been attempting to use WPP tracing in my Bus Driver and when I create a session in TraceView with either the symbols or CTL file I will get a bug check on occasion. I have several function driver which use WPP just fine. Any pointers on where to start looking? PAGE_FAULT_IN_NONPAGED_AREA (50) Invali... 6 May 2008 20:24
InstallHinfSection fails on Vista with “Copy Error”. I'm using InstallHinfSection to install my filter driver. This works well on XP. On Vista 32 it fails with a “Copy Error” when I use an Administrator account. InstallHinfSection obviously requires “computer administrator” access to copy the driver to the drivers directory. My MSI setup checks for Administrator ... 6 May 2008 17:17
Sharing COM1 with WinDbg I have an embedded device running XPe with a single serial port (also no 1394). The COM1 port is normally used by applications for other purposes. However, I would really like to be able to use this for kernel debugging as well. I tried using /crashdebug option in boot.ini so that the COM1 port does not disa... 6 May 2008 16:30
How make .inf file for 'mouser' sample code I read WinDDK\src\input\mouser sample code to include WDK. but this sample code is not included .inf file. If I need inf file, make the .inf file from myself? thank you. ... 6 May 2008 12:34
Registry question .. Hi Does Windows Vista driver has the same driver key of hardware , class and service ? Another question should Windows service be an user mode or kernel mode driver , or it can be application or driver or others ? Thank you . ... 6 May 2008 12:34 |