DOC: Incorrect Return Value for HalGetBusData (PCI)

ID: Q126428


The information in this article applies to:


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.

Additional query words: 3.50 3.51 NTDDK slotnumber


Keywords          : kbprg kbdocfix NTDDKKMode 
Version           : 3.50
Platform          : NT WINDOWS 
Issue type        : 

Last Reviewed: March 3, 1999