Bewerken

Delen via


StorPortGetActiveGroupCount function (storport.h)

The StorPortGetActiveGroupCount routine returns the number of processor groups that are present in the system.

Syntax

ULONG StorPortGetActiveGroupCount(
  [in]  PVOID   HwDeviceExtension,
  [out] PUSHORT NumberGroups
);

Parameters

[in] HwDeviceExtension

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

[out] NumberGroups

A pointer to a variable that holds the number of groups.

Return value

The StorPortGetActiveGroupCount routine 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.

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)