Freigeben über


NdisMSetBusData (Compact 2013)

3/26/2014

NDIS drivers call this function to write to the configuration space of a device.

Syntax

ULONG
  NdisMSetBusData(
    IN NDIS_HANDLE  MiniportAdapterHandle,
    IN ULONG  WhichSpace,
    IN ULONG  Offset,
    IN PVOID  Buffer,
    IN ULONG  Length
    );

Parameters

  • MiniportAdapterHandle
    The miniport adapter handle that NDIS passed to the MiniportAdapterHandle parameter of the MiniportInitializeEx function.
  • WhichSpace
    The kind of bus data to be written
  • Offset
    The byte offset in the configuration space, specified by WhichSpace, to which data is written.
  • Buffer
    A pointer to a buffer that contains the data to write to the bus: must be at least as large as Length.
  • Length
    The length, in bytes, of the data to write.

Return Value

NdisMGetBusData returns the number of bytes written.

Requirements

Header

ndis.h

See Also

Reference

NDIS Hardware Configuration Interface
MiniportInitializeEx
NdisMGetBusData