In the TDI Filter driver, the driver unload routine is not getting called.
There is no problem for Dispatch routines.
I have registerd the unload handler. See foll code in DriverEntry
/////////////////////////////////////////
for ( iCnt = 0 ; iCnt <= IRP_MJ_MAXIMUM_FUNCTION ; iCnt++ )
{
DriverObject->MajorFunction [iCnt] = MyTdiDispatch ;
}
DriverObject->DriverUnload = MyTdiUnload;
/////////////////////////////////////////
Where lies the problem ?
You cannot unload TDI filters. Forget this idea.
“Abhijit” wrote in message
news:…
In the TDI Filter driver, the driver unload routine is not getting called.
There is no problem for Dispatch routines.
I have registerd the unload handler. See foll code in DriverEntry
/////////////////////////////////////////
for ( iCnt = 0 ; iCnt <= IRP_MJ_MAXIMUM_FUNCTION ; iCnt++ )
{
DriverObject->MajorFunction [iCnt] = MyTdiDispatch ;
}
DriverObject->DriverUnload = MyTdiUnload;
/////////////////////////////////////////
Where lies the problem ?
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
----------