Archived from groups: microsoft.public.windowsxp.device_driver.dev (More info?)
Hi,
I am writing a File system Fileter driver to listen all the File
system calls.
In the Device Entry function, i am creating a device object and set it
in IO manager by IoAttachDeviceToDeviceStack method.
the code is...
------
<code>
ntStatus = IoCreateDevice(
DriverObject,
sizeof(DEVICE_EXTENSION),
&deviceNameUnicodeString,
FILE_DEVICE_UNKNOWN,
0,
TRUE,
&filterDeviceObject);
pDevExt->pTargetDevice = IoAttachDeviceToDeviceStack(
filterDeviceObject,
DriverObject->DeviceObject);
</code>
-----------
DriverObject is passed in the DriverEntry function.
Now, I am setting the flag for the filterDeviceObject by using,
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.