ZwCreateKey fails

Hi All,

we are writing file system filter driver for encrypting the files.
Under Win XP, We are accessing the registry values in IRP_MJ_CREATE
dispatch completion routine using ZwCreateKey(), but this routine causing
the system to hang. But the same code is working fine under Win 2000. Even
the same code is woking in other dispatch routine under Win XP. We are not
able to figure out where the problem is …

Can any one Help to over come this… Thanks in Advance

with Regards,
Kedar

Is there reentrancy occurring into your filter when you access the
registry? What does the debugger indicate the dead lock is?

Pete

Peter Scott
xxxxx@KernelDrivers.com
http://www.KernelDrivers.com

>-----Original Message-----
>From: xxxxx@lists.osr.com [mailto:bounce-ntfsd-
>xxxxx@lists.osr.com] On Behalf Of xxxxx@hotmail.com
>Sent: Monday, August 26, 2002 5:10 AM
>To: File Systems Developers
>Subject: [ntfsd] ZwCreateKey fails
>
>Hi All,
>
>we are writing file system filter driver for encrypting the files.
>Under Win XP, We are accessing the registry values in IRP_MJ_CREATE
>dispatch completion routine using ZwCreateKey(), but this routine
causing
>the system to hang. But the same code is working fine under Win 2000.
Even
>the same code is woking in other dispatch routine under Win XP. We are
not
>able to figure out where the problem is …
>
>
>Can any one Help to over come this… Thanks in Advance
>
>
>with Regards,
>Kedar
>
>—
>You are currently subscribed to ntfsd as: xxxxx@KernelDrivers.com
>To unsubscribe send a blank email to %%email.unsub%%