Hi everybody,
I need to do some dynamic memory allocation in my kernel mode TDI filter
driver.
Which kernel mode routines should we use for this purpose? I am seeing
that in the DDK,
there are routines like MMAll…, ExAll…, etc. Any ideas? Also, any
issues or pros/cons
of one approach over the other, pls let m eknow.
Thanks.
Snajay
MessageUse ExAllocateXXX Functions,TDI Drivers usually require little chunks of memory for the structures which must be used in the IRPs which are destined to Transport, and to be used in building MDLs using MmBuildXXX for them.
Hope This helps...
Subodh Radheshyam Gupta.
----- Original Message -----
From: Sanjay Chadda
To: NT Developers Interest List
Sent: Friday, May 16, 2003 5:34 AM
Subject: [ntdev] Memory allocation in kernel mode TDI drivers
Hi everybody,
I need to do some dynamic memory allocation in my kernel mode TDI filter driver.
Which kernel mode routines should we use for this purpose? I am seeing that in the DDK,
there are routines like MMAll...., ExAll..., etc. Any ideas? Also, any issues or pros/cons
of one approach over the other, pls let m eknow.
Thanks.
Snajay
You are currently subscribed to ntdev as: xxxxx@softhome.net
To unsubscribe send a blank email to xxxxx@lists.osr.com
MessageExAllocatePoolWithTag is the routine.
----- Original Message -----
From: Sanjay Chadda
To: NT Developers Interest List
Sent: Friday, May 16, 2003 4:04 AM
Subject: [ntdev] Memory allocation in kernel mode TDI drivers
Hi everybody,
I need to do some dynamic memory allocation in my kernel mode TDI filter driver.
Which kernel mode routines should we use for this purpose? I am seeing that in the DDK,
there are routines like MMAll...., ExAll..., etc. Any ideas? Also, any issues or pros/cons
of one approach over the other, pls let m eknow.
Thanks.
Snajay
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Do you mean a TDI client, a TDI driver (transport) such as TCP/IP or an
actual filter operating against a TDI driver/transport? If the first,
ExAllocatexxx will do. If the second, the answer’s probably the same
(I’ve not dealt with such). If the third, I think a filter is a mistake,
certainly if you’re planning on hooking a transport’s dispatch-routine
entry points; better to go the NDIS IM route, because it’s clean (if
complex) and supported.
–
If replying by e-mail, please remove “nospam.” from the address.
James Antognini