Slot Control API

9

9.1HsiOpenSlotControl

Prototype:

HSI_STATUS

HsiOpenSlotControl(

OUT HSI_SLOT_CONTROL_HANDLE *pHandle);

Arguments:

 

PHandle -

pointer to the location where this function places the session handle for

 

the new session

Return Value:

 

HSI_STATUS_SUCCESS

if successful

HSI_STATUS_NO_MEMORY

returned if there is not enough memory to allocate the handle or other internal structures

HSI_STATUS_NO_SUCH_DEVICE

returned if the Hot Swap Controller can’t be found

Other HSI_STATUS values

returned if other errors occurred during execution of this function

Synopsis:

This function is called by the client to open a logical session between the client and the HA Slot Control Driver. The session handle is returned to the client from this function. In all of the following calls related to the new session, the session handle shall be passed as one of the parameters.

This function shall be called before calling any other functions of this interface.

9.2HsiCloseSlotControl

Prototype:

HSI_STATUS

HsiCloseSlotControl(

IN HSI_SLOT_CONTROL_HANDLE Handle);

Arguments:

Handle -

The session handle to close

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

85

Page 85
Image 85
Intel ZT 4901 manual Slot Control API, HsiOpenSlotControl, HsiCloseSlotControl, Hsistatusnomemory, Hsistatusnosuchdevice