HalSetBusData

HalSetBusData

HalSetBusData is obsolete and exported only to support existing drivers. Instead, use IRP_MN_QUERY_INTERFACE to query the GUID_BUS_INTERFACE_STANDARD interface. This query request returns a function pointer to SetBusData, which can be used to write to the configuration space of a given device.

ULONG HalSetBusData(
  IN BUS_DATA_TYPE  BusDataType,
  IN ULONG  BusNumber,
  IN ULONG  SlotNumber,
  IN PVOID  Buffer,
  IN ULONG  Length
);

Requirements

Header

Ntddk.h (include Ntddk.h)

See also

HalGetBusData
HalGetBusDataByOffset
HalSetBusDataByOffset
PCI_COMMON_CONFIG
PCI_SLOT_NUMBER
IRP_MN_QUERY_INTERFACE
IRP_MN_WRITE_CONFIG

 

 

Send comments about this topic to Microsoft

Anzeigen:
© 2016 Microsoft