Physical disk filter driver

Hello, please help me.
I need to make a driver that protects the boot sector and partitions
sector. So I attach to \Harddisk0\Partition1 (for example) and when I
get an IRP_MJ_WRITE call I check
if currentIrpStack->Parameters.Write.ByteOffset is 0 and if so happens
then I deny the write. I set my driver to start at boot time but when I
start my computer it crashes. Can anyone tell me why?

When you filter driver is started (exactly)?
How you attach itself to the disk driver ?
Please give more informations and symptoms.

Paul

-----P?vodn? zpr?va-----
Od: Ratmil Torres Vargas [SMTP:xxxxx@ghost.matcom.uh.cu]
Odesl?no: 18. kv?tna 2000 15:12
Komu: File Systems Developers
P?edm?t: [ntfsd] Physical disk filter driver

Hello, please help me.
I need to make a driver that protects the boot sector and partitions
sector. So I attach to \Harddisk0\Partition1 (for example) and when I
get an IRP_MJ_WRITE call I check
if currentIrpStack->Parameters.Write.ByteOffset is 0 and if so happens
then I deny the write. I set my driver to start at boot time but when I
start my computer it crashes. Can anyone tell me why?


You are currently subscribed to ntfsd as: xxxxx@sodatsw.cz
To unsubscribe send a blank email to $subst(‘Email.Unsub’)