Export (0) Print
Expand All

C28145

warning C28145: The opaque MDL structure should not be modified by a driver

The driver code is changing a member of an MDL structure.

The MdlFlags field is used as a proxy for all MDL fields. No fields should be modified, with the exception of MDL_MAPPING_CAN_FAIL, which is used for drivers that need to be Microsoft Windows 98 or Windows NT (SP4) compatible, and MDL_PAGES_LOCKED, which is used for drivers that need to be Windows 2000 compatible.

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft