// storport.h
ULONG StorPortGetActiveGroupCount(
[in] PVOID HwDeviceExtension,
[out] PUSHORT NumberGroups
);
View the official Windows Driver Kit DDI referenceNo description available.
The StorPortGetActiveGroupCount routine returns the number of processor groups that are present in the system.
HwDeviceExtension [in]A pointer to the hardware device extension for the host bus adapter (HBA).
NumberGroups [out]A pointer to a variable that holds the number of groups.
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. |