GetState
The function is described in the following sections.
Description
Get the current state of the sensor.
Syntax
The following code block shows the syntax of the function.
GetState( SENSOR_HANDLE *pstHandle, SENSOR_STATUS *pstStatus );
Parameter
The function has the following parameters.
Parameter | Description | Input/Output |
---|---|---|
pstHandle | Sensor handle | Input |
pstStatus | Sensor state | Output |
Return
The function has the following return values.
Return | Description |
---|---|
0 | Success |
Other values | Failure |
Requirement
None