Redundant Host API
HSI_STATUS
RhGetHostCount(
IN RH_HANDLE Handle,
OUT uint32 *pHostCount);
Arguments: |
|
Handle | the handle of the current session |
pHostCount | pointer to the variable where the host count is placed |
Return Value: |
|
HSI_STATUS_SUCCESS
returned in the case of success
HSI_STATUS_INVALID_PARAMETER invalid session handle
Other,
returned if other errors occurred during execution of this function
Synopsis:
This function gets the number of hosts in the system. This function can be used to obtain the total number of hosts in a RH system.
6.2.3.10RhGetHostNumbers
Prototype:
HSI_STATUS
RhGetHostNumbers(
IN RH_HANDLE Handle,
OUT uint32 *pHostNumbersArray,
IN uint32 ArraySize,
OUT uint32 *pActualSize );
Arguments: |
|
Handle | the handle of the current session |
pHostNumbersArray | pointer to the array where the list of host numbers is placed |
ArraySize - | the size (in items of type uint32) of the buffer initially provided for the |
| array by the caller |
pActualSize - | pointer to the variable where the actual number of items in the list is |
| stored (even if the initial size is too small and the function returns the |
| error HSI_STATUS_INSUFFICIENT_BUFFER). |
Return Value: |
|
HSI_STATUS_SUCCESS
returned in the case of success
HSI_STATUS_INVALID_PARAMETER invalid session handle
52 | High Availability Software for the Intel® NetStructureTM ZT 4901 Technical Product Specification |