Legacy NT4 style driver and WMI

Hi,

I need to add WMI support for legacy (NT4-style) driver. I’m using WMILIB.
I’ve correctly registered the driver withing WMILIB with
IoWMIRegistrationControl(). However in IRP_MJ_SYSTEM_CONTROL dispatch
entry driver crashed immediately after call to WmySystemControl(
WMIContext, DeviceObject, Irp, &disposition ). All the pointers are valid.
Why this could happen? Second question is as I need to forward some IRPs
came to IRP_MJ_SYSTEM_CONTROL dispatch entry down the stack I need to know
lower device object. But this driver is the only one in the stack. Should
I just complete all the IRPs by myself?

Thanks for help!

Anton Kolomyeytsev