O
OverflowAtMsdn
Guest
Hi:
I wrote a fastfat demo driver and I need to use C# to mount a disk to trigger FatMountVolume .But when I use this way to mount the disk . The compiler doesn`t support IRP_NM_MOUNT_VOLUME dwFlag .Is there any example to introduce how a user mode program mount a disk device ?
Boolean result = WinAPI.DeviceIoControl(hDriver, IRP_MN_MOUNT_VOLUME, lpOutBuffer, nOutBufferSize, lpBytesReturned, 0);
Continue reading...
I wrote a fastfat demo driver and I need to use C# to mount a disk to trigger FatMountVolume .But when I use this way to mount the disk . The compiler doesn`t support IRP_NM_MOUNT_VOLUME dwFlag .Is there any example to introduce how a user mode program mount a disk device ?
Boolean result = WinAPI.DeviceIoControl(hDriver, IRP_MN_MOUNT_VOLUME, lpOutBuffer, nOutBufferSize, lpBytesReturned, 0);
Continue reading...