StorPortGetHighestNodeNumber function (storport.h)

The StorPortGetHighestNodeNumber routine returns the largest possible node number on the system.

Syntax

ULONG StorPortGetHighestNodeNumber(
  [in]  PVOID  HwDeviceExtension,
  [out] PULONG HighestNode
);

Parameters

[in] HwDeviceExtension

A pointer to the hardware device extension for the host bus adapter (HBA).

[out] HighestNode

A pointer to a variable that holds the highest-numbered node.

Return value

The StorPortGetHighestNodeNumberroutine returns one of the following status codes:

Return code Description
STOR_STATUS_NOT_IMPLEMENTED
This function is not implemented on the active operating system.
STOR_STATUS_SUCCESS
The operation was successful.
STOR_STATUS_INVALID_PARAMETER
The operation fails with this return value if one or more of the parameters are invalid, for example, if HighestNode is set to NULL.

Requirements

Requirement Value
Minimum supported client Available in Windows 7 and later versions of the Windows operating systems.
Target Platform Universal
Header storport.h (include Storport.h)
IRQL <=DISPATCH_LEVEL
DDI compliance rules StorPortIrql(storport)