DOC: SCSI Miniport's Use of the SRB DataBuffer

Last reviewed: January 8, 1997
Article ID: Q140268
The information in this article applies to:
  • Microsoft Win32 Device Driver Kit (DDK) versions 3.50, 3.51

SUMMARY

The Windows NT DDK documentation incorrectly states that SCSI miniports should not use the SRB DataBuffer as a data pointer unless the miniport sets MapBuffers to TRUE in the PORT_CONFIGURATION_INFORMATION structure for the HBA, nor should it be used for SRB_FUNCTION_IO_CONTROL requests. This information is incorrect with regard to SRB_FUNCTION_IO_CONTROL requests.

As a general rule, SCSI miniports should not use the SRB DataBuffer as a data pointer unless they set MapBuffers to TRUE. However, in the case of SRB_IO_FUNCTION_CONTROL requests, SCSI miniports can use SRB DataBuffer regardless of the value of MapBuffers.

This documentation error has been corrected in the Windows NT DDK version 4.0 online documentation.


KBCategory: kbprg kbdocerr kbdocfix
KBSubcategory: ntddkstorage
Additional reference words: 3.50 3.51 SCSI_REQUEST_BLOCK SRB



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 8, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.