StorPortWriteRegisterUlong64 routine

This StorPortWriteRegisterUlong64 routine writes a ULONG64 value to the specified register address.

Syntax


 ULONG StorPortWriteRegisterUlong64(
  _In_  PVOID HwDeviceExtension,
  _In_  PULONG64  Register,
  _In_  ULONG64  Value
);

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

Value [in]

A ULONG64 value to write to the register.

Return value

StorPortWriteRegisterUlong64 returns one of the following status values.

Return codeDescription
STOR_STATUS_SUCCESS

A 64-bit value was written successfully to the address in Register.

STOR_STATUS_NOT_IMPLEMENTED

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

 

Remarks

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

Requirements

Version

Available starting with Windows 8.

Header

Storport.h (include Storport.h)

See also

StorPortReadRegisterUlong64

 

 

Send comments about this topic to Microsoft

표시:
© 2014 Microsoft