SdPortReadRegisterBufferUlong routine

This routine reads a number of ULONG values from the specified register address into a buffer.

Syntax

void SdPortReadRegisterBufferUlong(
  _In_  PVOID  BaseAddress,
  _In_  ULONG  Register,
  _Out_ PULONG 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 [out]
    Pointer to a buffer into which an array of ULONG values is read.

  • Length [in]
    Specifies the number of ULONG values to be read into the buffer.

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 ULONG 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