StorPortWriteRegisterBufferUlong64 routine

This StorPortWriteRegisterBufferUlong64 routine writes a number of ULONG64 values from a the specified 64-bit register address.

Syntax


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

Parameters

HwDeviceExtension [in]

Pointer to the hardware device extension.

Register [in]

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

Buffer [in]

Pointer to the buffer to write the ULONG64 values from.

Count [in]

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

Return value

StorPortWriteRegisterBufferUlong64 returns one of the following status values.

Return codeDescription
STOR_STATUS_SUCCESS

A the 64-bit values were written successfully to the address in Register.

STOR_STATUS_INVALID_PARAMETER

The pointer in Buffer is NULL.

STOR_STATUS_NOT_IMPLEMENTED

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

 

Remarks

The StorPortWriteRegisterBufferUlong64 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

StorPortReadRegisterBufferUlong64

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft