StorPortGetNodeAffinity function (storport.h)
The StorPortGetNodeAffinity routine constructs a mask of the active processors in a requested non-uniform memory access (NUMA) node.
Syntax
ULONG StorPortGetNodeAffinity(
[in] PVOID HwDeviceExtension,
[in] ULONG NodeNumber,
[out] PGROUP_AFFINITY NodeAffinityMask
);
Parameters
[in] HwDeviceExtension
A pointer to the hardware device extension for the host bus adapter (HBA).
[in] NodeNumber
The NUMA node from which to return the processor mask.
[out] NodeAffinityMask
A pointer to a variable that holds the affinity mask of the given node.
Return value
The StorPortGetNodeAffinityroutine returns one of the following status codes:
Return code | Description |
---|---|
|
This function is not implemented on the active operating system. |
|
The operation was successful. |
|
The operation fails with this return value if one or more of the parameters are invalid, for example, if NodeAffinityMask is set to NULL, or if NodeNumber is greater than 65,535. |
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) |