I am querying volumes to get their properties (one is to determine if it
is removable). On i386 this works fine. But for x64 when I call
FltGetVolumeFromName or ZwCreateFile the system console gets a Pop-Up
saying the insert a media or hit cancel when the floppy disk is empty .
On this system both calls resolve to FltpFsControlMountVolume which
hangs on the pop up.
There is a WIN32 function SetErrorMode(SEM_FAILCRITICALERRORS |
SEM_NOOPENFILEERRORBOX) which returns the current state and on both
systems it indicates pop up are off.
Can anyone tell me why this is happening only on the x64 and how to
prevent it?
Is there a better way to query the volume properties that will avoid the
pop up?
The stacks for FltGetVolumeFromName and ZwCreateFile are below.
Thanks,
Ken
4.000a58 fffffadf9bfa97f0 fffbb384 Blocked nt!KiSwapContext+0x85
nt!KiSwapThread+0x376
nt!KeWaitForSingleObject+0x5a6
fltMgr!FltpFsControlMountVolume+0x2b3
fltMgr!FltpFsControl+0x80
Dfs!DfsFilterFsControl+0xd1
fltMgr!FltpFsControlMountVolume+0x290
fltMgr!FltpFsControl+0x80
naiavf5a+0x2191
naiavf5a+0x4fa
naiavf5a+0x30d5
nt!IopCheckVpbMounted+0x437
nt!IopParseDevice+0x74a
nt!ObpLookupObjectName+0x923
nt!ObOpenObjectByName+0x180
nt!IopCreateFile+0x630
nt!IoCreateFile+0x12f
nt!NtCreateFile+0x69
nt!KiSystemServiceCopyEnd+0x3
nt!KiServiceLinkage
fltMgr!FltpGetVolumeFromName+0xde
RepliStor!QueryVolumes+0x9c
RepliStor!VolumeThread+0xda
nt!PspSystemThreadStartup+0x3e
nt!KiStartSystemThread+0x16
4.000cec fffffadf9cbe1040 ffad8ab3 Blocked nt!KiSwapContext+0x85
nt!KiSwapThread+0x376
nt!KeWaitForSingleObject+0x5a6
fltMgr!FltpFsControlMountVolume+0x2b3
fltMgr!FltpFsControl+0x80
Dfs!DfsFilterFsControl+0xd1
fltMgr!FltpFsControlMountVolume+0x290
fltMgr!FltpFsControl+0x80
naiavf5a+0x2191
naiavf5a+0x4fa
naiavf5a+0x30d5
nt!IopCheckVpbMounted+0x437
nt!IopParseDevice+0x74a
nt!ObpLookupObjectName+0x923
nt!ObOpenObjectByName+0x180
nt!IopCreateFile+0x630
nt!IoCreateFile+0x12f
nt!NtCreateFile+0x69
nt!KiSystemServiceCopyEnd+0x3
nt!KiServiceLinkage
RepliStor!QueryVolumes+0x136
RepliStor!VolumeThread+0xda
nt!PspSystemThreadStartup+0x3e
nt!KiStartSystemThread+0x16