Hardware Dev Center

StorPortReadRegisterBufferUlong64 routine

This StorPortReadRegisterBufferUlong64 routine reads a number of ULONG64 values from the specified 64-bit register address into a buffer.

Syntax


 ULONG StorPortReadRegisterBufferUlong64(
  _In_  PVOID     HwDeviceExtension,
  _In_  PULONG64  Register,
  _Out_ PULONG64  Buffer,
  _In_  ULONG     Count
);

Parameters

HwDeviceExtension [in]

Pointer to the hardware device extension.

Register [in]

Pointer to the register where the data is to be read. The register must be a mapped range in memory space

Buffer [out]

Pointer to the buffer that receives the data that is read.

Count [in]

Specifies the number of data values to read. Each data item has a size of sizeof(ULONG64).

Return value

StorPortReadRegisterBufferUlong64 returns one of the following status values.

Return codeDescription
STOR_STATUS_SUCCESS

A 64-bit values were read successfully from the address in Register.

STOR_STATUS_INVALID_PARAMETER

The pointer in Buffer is NULL.

STOR_STATUS_NOT_IMPLEMENTED

StorPortReadRegisterBufferUlong64 is not executing on a 64-bit version of Windows.

 

Remarks

The StorPortReadRegisterBufferUlong64 routine is only available on the 64-bit version of Windows.

Requirements

Target platform

Desktop

Version

Available starting with Windows 8.

Header

Storport.h (include Storport.h)

See also

StorPortWriteRegisterBufferUlong64

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft