Download SUSI Library Reference
Transcript
Susi Library Reference SusiHWMGetTemperature Read the current value of one of the temperature sensors, or get the types of available sensors. BOOL SusiHWMGetTemperature(WORD tempType, float *retval, WORD *typeSupport = NULL) Parameters tempType [in] Specifies a temperature sensor to get value from. It can be one of the flags The flags refer “Appendix A - Hardware Monitor Flags - Temperature” retval [out] Point to a variable in which this function returns the temperature in Celsius. Typesupport [out] If the value is specified as a pointer (non-NULL) to a variable, it will return the types of available sensors in flags bitwise-ORed Return Value TRUE (1) indicates success; FALSE (0) indicates failure. Remarks Call the function first with a non-NULL typesupport to know the available temperature sensors and a following call to get the temperature required. 95 of 107