MmGetMdlByteCount macro (wdm.h)
The MmGetMdlByteCount macro returns the length, in bytes, of the buffer described by the specified MDL.
void MmGetMdlByteCount( Mdl );
MmGetMdlByteCount returns the length, in bytes, of the buffer described by Mdl.
Callers of MmGetMdlByteCount can be running at any IRQL. Usually, callers are running at IRQL <= DISPATCH_LEVEL.
|Minimum supported client||Available starting with Windows 2000.|
|Header||wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)|
|IRQL||Any level (see Remarks section)|
|DDI compliance rules||MdlAfterReqCompletedIntIoctlA, MdlAfterReqCompletedIoctlA, MdlAfterReqCompletedReadA, MdlAfterReqCompletedWriteA|