MSDN上数IoBuildPartialMdl 创建一个已存在MDL的子MDL 。不是很明白,执行了IoAllocateMdl,为啥还要执行IoBuildPartialMdl 呢?在bulusb中有这样的代码。 mdl = IoAllocateMdl((PVOID) vir...
全文
回复(2) 2007-11-26 11:26 来自版块 - 内核编程
表情
flipflopIoAllocateMdl 后不执行IoFreeMdl 会不会导致内存泄露等问题? 我看到WDK中的Example有的执行有的不执行。(2013-06-24 10:12)
bamu1984zIoAllocateMdl: Allocates an MDL for a buffer, given the starting virtual address of the buffer and its length. This routine does not associ...(2007-12-11 22:45)

返回顶部