Slot Control API

HSI_STATUS_INVALID_PARAMETER

returned if the physical slot number does not correspond to any actual slot or if the handle is invalid

Other HSI_STATUS values

returned if other errors occurred during execution of this function

Synopsis:

This function detects the power status of the specified slot and returns it in the pPower parameter as a logical value: TRUE means the slot power is on; FALSE means the slot power is off.

9.7HsiSetSlotPower

Prototype:

HSI_STATUS

HsiSetSlotPower(

IN HSI_SLOT_CONTROL_HANDLE Handle,

IN UINT32 Slot,

IN BOOLEAN Power );

Arguments:

 

Handle -

The handle of the current session

Slot -

The physical slot number

Power -

The new power state for the slot: TRUE means ON, FALSE means OFF

Return Value:

 

HSI_STATUS_SUCCESS

if successful

HSI_STATUS_INVALID_PARAMETER

returned if the physical slot number does not correspond to any actual slot or if the handle is invalid

Other HSI_STATUS values

returned if other errors occurred during execution of this function

Synopsis:

This function enables or disables power for the specified slot. The new power state of the slot is specified by the value of the parameter Power: TRUE means switch the power on; FALSE means switch the power off.

9.8HsiGetSlotReset

Prototype:

High Availability Software for the Intel® NetStructureTM ZT 4901 Technical Product Specification

89

Page 89
Image 89
Intel ZT 4901 manual HsiSetSlotPower, HsiGetSlotReset