Returns the manufacturer and model of the Power Supply.
CalPsGetInfo (hHandle, psManufacturer, psModel, plStatus)
Name |
Type |
Comments |
hHandle |
LONG |
Handle for a Power Supply. |
psManufacturer |
PSTR |
Returns a string with the manufacturer name. |
psModel |
PSTR |
Returns a string with the model name. |
plStatus |
PLONG |
Returned status: 0 on success, negative number on failure. |
The following example gets the Matrix information:
LONG lHandle, lStatus;
CHAR szManufacturer[256];
CHAR szModel[256];
CalPsGetInfo (lHandle, szManufacturer, szModel, &lStatus);
Printf(“The Manufacturer is: %s and the Model is: %s”, szManufacturer, szModel);