Export (0) Print
Expand All

StorPortGetCurrentProcessorNumber routine

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

Syntax


ULONG StorPortGetCurrentProcessorNumber(
  _In_   PVOID HwDeviceExtension,
  _Out_  PPROCESSOR_NUMBER ProcNumber
);

Parameters

HwDeviceExtension [in]

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

ProcNumber [out]

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 codeDescription
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.

 

Requirements

Version

Available starting with Windows 7.

Header

Storport.h (include Storport.h)

IRQL

<=DISPATCH_LEVEL

DDI compliance rules

StorPortIrql

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft