Hi,
I have adding filter for Tcp device by adding hook to \Device\Tcp …
But in tdi_create I am getting ea = NULL.
FILE_FULL_EA_INFORMATION *ea = (FILE_FULL_EA_INFORMATION *)Irp->AssociatedIrp.SystemBuffer ;
MyDbgPrint ((“[xFilter] tdi_create: Entered ea (%08X) \n”, ea)) ;
What may be the reason ?
I have not hooked devices \Device\Udp, \Device\RawIp.
As ea is NULL, tdi_create is bound to fail and again in IRP_MJ_DEVICE_CONTROL Minor Function = 0
and thus TdiMapUserRequest Failes with status 0xC0000002.
Please put your comments on this.
Waiting for reply eagarly.
Cheers
Rajesh
A NULL EA is correct when creating a Control Channel.
Thomas F. Divine - DDK MVP
www.pcausa.com
“Rajesh Nikam” wrote in message news:xxxxx@ntdev…
Hi,
I have adding filter for Tcp device by adding hook to \Device\Tcp …
But in tdi_create I am getting ea = NULL.
FILE_FULL_EA_INFORMATION *ea = (FILE_FULL_EA_INFORMATION *)Irp->AssociatedIrp.SystemBuffer ;
MyDbgPrint ((“[xFilter] tdi_create: Entered ea (%08X) \n”, ea)) ;
What may be the reason ?
I have not hooked devices \Device\Udp, \Device\RawIp.
As ea is NULL, tdi_create is bound to fail and again in IRP_MJ_DEVICE_CONTROL Minor Function = 0
and thus TdiMapUserRequest Failes with status 0xC0000002.
Please put your comments on this.
Waiting for reply eagarly.
Cheers
Rajesh