Microsoft KB Archive/200192

{|
 * width="100%"|

DOC: MmCreateMdl Function Documentation Is Incorrect

 * }

Q200192

This article discusses a Beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice.

No formal product support is available from Microsoft for this Beta product. For information about obtaining support for a Beta release, please see the documentation included with the Beta product files, or check the Web location from which you downloaded the release.

-

The information in this article applies to:


 * Microsoft Win32 Device Driver Kit (DDK) for Windows NT

-

SUMMARY
The comments section of the MmCreateMdl function reference documentation should read:

"The caller must be running at IRQL <= DISPATCH_LEVEL, if the caller passes a NULL pointer for MemoryDescriptorList and expects MmCreateMdl to allocate the storage. The system allocates storage from NonPagedPoolMustSucceed memory pool." If the call to MmCreateMdl occurs while running at IRQL > DISPATCH_LEVEL, the caller must allocate memory for the MDL from nonpaged pool and must supply a pointer for MemoryDescriptorList.

MORE INFORMATION
This function has been made obsolete in Windows 2000 and therefore the callers should use IoAllocateMdl instead.

Additional query words: kbDSupport

Keywords : kbDDK kbKMode kbOSWinNT400

Issue type :

Technology : kbAudDeveloper kbWinDDKSearch kbWin32sSearch kbWin32DDKSearch kbWin32DDKNTSearch