1.2.6.4.4 SRV_USI_Status Function
C
SRV_USI_STATUS SRV_USI_Status( SRV_USI_HANDLE handle )
Summary
Returns the current status of the USI service.
Description
This routine provides the current status of the USI service instance.
Precondition
SRV_USI_Open must have been called to obtain a valid opened service handle.
Parameters
Param | Description |
---|---|
handle | A valid open-instance handle, returned from SRV_USI_Open |
Returns
Current status of the USI service instance (SRV_USI_STATUS Enum).
Example
// 'handle', returned from SRV_USI_Open previously called if (SRV_USI_Status (handle) == SRV_USI_STATUS_CONFIGURED) { // USI service is initialized and ready to accept new requests. }
Remarks
After opening an USI instance, before any other operation, the client must use this function to check the instance is ready.