SdPortWriteRegisterBufferUshort routine

This routine writes a number of USHORT values from a buffer to the specified register.

Syntax

void SdPortWriteRegisterBufferUshort(
  _In_ PVOID   BaseAddress,
  _In_ ULONG   Register,
  _In_ PUSHORT Buffer,
  _In_ ULONG   Length
);

Parameters

  • BaseAddress [in]
    The virtual base address of the host controller memory mapped register space.

  • Register [in]
    The offset from the BaseAddress that specifies which register to access.

  • Buffer [in]
    Pointer to a buffer from which an array of USHORT values is to be written.

  • Length [in]
    Specifies the number of USHORT values to be written to the register.

Return value

This routine does not return a value.

Remarks

The size of the buffer must be large enough to contain at least the specified number of USHORT values.

Callers of this routine can be running at any IRQL, assuming the Buffer is resident and the Register is resident, mapped device memory.

Requirements

Minimum supported client

Windows 10

Minimum supported server

Windows Server 2016 Technical Preview

Header

Sdport.h

DLL

Sdport.dll

 

 

Send comments about this topic to Microsoft