VOID
MmPrepareMdlForReuse(
IN PMDL MDL
);
MmPrepareMdlForReuse reinitializes a caller-allocated MDL.
MmPrepareMdlForReuse is called by drivers that allocate a set of MDLs that they use and reuse repeatedly. After each call to MmPrepareMdlForReuse, the given MDL must be reinitialized. Very few drivers call this routine.
Callers of MmPrepareMdlForReuse must be running at IRQL <= DISPATCH_LEVEL.
IoAllocateMdl, IoBuildPartialMdl, IoFreeMdl, MmCreateMdl, MmInitializeMdl