StorPortGetCurrentProcessorNumber function (storport.h)
The StorPortGetCurrentProcessorNumber routine retrieves the current processor number from the kernel.
Syntax
ULONG StorPortGetCurrentProcessorNumber(
[in] PVOID HwDeviceExtension,
[out] PPROCESSOR_NUMBER ProcNumber
);
Parameters
[in] HwDeviceExtension
A pointer to the hardware device extension for the host bus adapter (HBA).
[out] ProcNumber
A pointer to a processor number structure that holds the return data.
Return value
The StorPortGetCurrentProcessorNumber routine 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 ProcNumber is set to NULL. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 7. |
Target Platform | Universal |
Header | storport.h (include Storport.h) |
IRQL | <=DISPATCH_LEVEL |
DDI compliance rules | StorPortIrql(storport) |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for