DOC: Incorrect Return Value for HalGetBusData (PCI)

Last reviewed: April 7, 1997
Article ID: Q126428
3.50 WINDOWS NT kbprg kbdocerr kbdocfix

The information in this article applies to:

  • Microsoft Win32 Device Development Kit (DDK), version 3.5

SUMMARY

The Win32 DDK version 3.5 online documentation incorrectly states that the HalGetBusData return value to indicate an error on a PCI bus will be either 0 (zero) or 4. An error is actually indicated by either a 0 (zero) or 2.

The return value of 0 (zero) indicates that the PCI bus does not exist.

The return value of 2 indicates that the PCI bus exists, but there is no device at the specified slot number. The parameter "Buffer" also contains the value PCI_INVALID_VENDORID at the PCI_COMMON_CONFIG VendorID member.

This documentation error is corrected in the Win32 DDK version 3.51 online documentation.


KBCategory: kbprg kbdocerr kbdocfix
KBSubcategory:
Additional reference words: 3.50 3.51 NTDDK slotnumber
Keywords : kbprg NTDDKKMode kbdocerr kbdocfix
Version : 3.50
Platform : NT WINDOWS


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: April 7, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.