StorPortWriteRegisterUlong

StorPortWriteRegisterUlong routine

The StorPortWriteRegisterUlong routine transfers a ULONG value to the indicated HBA register address.

Syntax


STORPORT_API VOID StorPortWriteRegisterUlong(
  _In_ PVOID  HwDeviceExtension,
  _In_ PULONG Register,
  _In_ ULONG  Value
);

Parameters

HwDeviceExtension [in]

A pointer to the hardware device extension. This is a per HBA storage area that the port driver allocates and initializes on behalf of the miniport driver. Miniport drivers usually store HBA-specific information in this extension, such as the state of the HBA and the mapped access ranges for the HBA. This area is available to the miniport driver immediately after the miniport driver calls StorPortInitialize. The port driver frees this memory when it removes the device.

Register [in]

Pointer to the register. The given Register must be in a mapped memory space range returned by StorPortGetDeviceBase.

Value [in]

Specifies the ULONG value to be written to the HBA's register.

Return value

None

Requirements

Target platform

Universal

Header

Storport.h (include Storport.h)

Library

Storport.lib

See also

ScsiPortWriteRegisterUlong

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft