Hi:
The function is invoked at IRQL PASSIVE_LEVEL.I use softice to debug the driver.The error code is "Break due to page fault(0EH). Fault=0000).
Jim
At which IRQL are you calling this function? What is the bug check code?
-Srin.
> -----Original Message-----
> From: Jim Zhong [mailto:xxxxx@netease.com]
> Sent: Saturday, May 10, 2003 5:59 AM
> To: File Systems Developers
> Subject: [ntfsd] How to use RtlVolumeDeviceToDosName()?
>
> Hi:
> I added the following codes to my filter driver.But it resulted in
> system crashing.The codes are invoked to find out which voulme it
is(C:,D:
> or E:?) when a volume is being mounted.
>
> UNICODE_STRING DosName;
> RtlInitUnicodeString(&DosName,NULL);
> RtlVolumeDeviceToDosName(PtrTargetVolumeDeviceObject,&DosName);
>
> I think the problem lies in the last sentence because it will work
> properly if the last sentence is removed.But I don’t know the
reason.Could
> anybody give me any advice?
> Thanks.
>
>
> Jim
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@nai.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
You are currently subscribed to ntfsd as: xxxxx@netease.com
To unsubscribe send a blank email to xxxxx@lists.osr.com