MP_GetInitiatorPortProperties

Synopsis

Parameters

oid

The object ID of the Port.

pProps

A pointer to an object ID that has type MP_INITIATOR_PORT_PROPERTIES structure allocated by the caller. With a successful return, this structure contains the properties of the port specified by the oid parameter.

Description

The MP_GetInitiatorPortProperties() function gets the properties of the specified initiator port.

Return Values

MP_STATUS_INVALID_PARAMETER

The pProps is null or specifies a memory area to which data cannot be written, or when the oid has a type subfield other than MP_OBJECT_TYPE_INITIATOR_PORT.

MP_STATUS_INVALID_OBJECT_TYPE

The oid does not specify any valid object type. This is most likely to happen if an uninitialized object ID is passed to the API.