High Availability Software for the Intel® NetStructureTM ZT 4901 Technical Product Specification 85
Slot Control API 9

9.1 HsiOpenSlotControl

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_SUCCESSif 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.2 HsiCloseSlotControl

Prototype:
HSI_STATUS
HsiCloseSlotControl(
IN HSI_SLOT_CONTROL_HANDLE Handle);
Arguments:
Handle - The session handle to close