Help me,two simple question about class disk filter driver

Dear sir,
I have two question about the disk class filter driver in Windows
2000.

  1. how to install the class driver?
    The ddk only say: modify the Upperfilter key. I want to know how to
    create the root key?Someone can tell me more information??
  2. How to know the request come frome \Device\harddisk0\Partition1
    ,\device\Harddisk0\Partition2 in the rountine IRP_MJ_WRITE?
    I have seen someone asked the question before but i don’t get the answer.
    Please help me.
    High appreciated you help.
    shuly

///////////////////////////////
MyDiskWrite()
{
if(Irp come frome \Device\harddisk0\Partition1)
//
// But how i know ???
//
{
deny it.
}
}


ÏíÓÃÊÀ½çÉÏ×î´óµÄµç×ÓÓʼþϵͳ¡ª MSN Hotmail¡£http://www.hotmail.com/cn