StorPortGetCurrentProcessorNumber - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// storport.h

ULONG StorPortGetCurrentProcessorNumber(
  [in]  PVOID             HwDeviceExtension,
  [out] PPROCESSOR_NUMBER ProcNumber
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-storport-storportgetcurrentprocessornumber)

StorPortGetCurrentProcessorNumber function

Description

The StorPortGetCurrentProcessorNumber routine retrieves the current processor number from the kernel.

Parameters

HwDeviceExtension [in]

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

ProcNumber [out]

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
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 ProcNumber is set to NULL.

See also

PROCESSOR_NUMBER

StorPortGetProcessorCount