| GetCurrentVolt | ||||||||||||||||||||||||||
| 调用方法 | BOOL GetCurrentVolt(int iSelect, int *iVoltage); | |||||||||||||||||||||||||
| 返回值 |
|
|||||||||||||||||||||||||
| 参数 | int iSelect |
|
||||||||||||||||||||||||
| int *iVoltage | 电压 (mV) | |||||||||||||||||||||||||
| 示例 | int ret, iVoltage; ret = GetCurrentVolt(MONITOR_VOLT_VCOREA, &iVoltage); |
|||||||||||||||||||||||||
| 必要条件 |
|
|||||||||||||||||||||||||
| GetCurrentVolt | ||||||||||||||||||||||||||
| 调用方法 | [DllImport("Ioctl.dll")] static extern int GetCurrentVolt(int iSelect, ref int iVoltage); | |||||||||||||||||||||||||
| 返回值 |
|
|||||||||||||||||||||||||
| 参数 | int iSelect |
|
||||||||||||||||||||||||
| ref int iVoltage | 电压 (mV) | |||||||||||||||||||||||||
| 示例 | int ret, iVoltage; ret = GetCurrentVolt(MONITOR_VOLT_VCOREA, ref iVoltage); |
|||||||||||||||||||||||||
| GetCurrentVolt | ||||||||||||||||||||||||||
| 调用方法 | Declare Function GetCurrentVolt Lib "Ioctl.dll"(ByVal iSelect As Integer, ByRef iVoltage As Integer)As Integer | |||||||||||||||||||||||||
| 返回值 |
|
|||||||||||||||||||||||||
| 参数 | int iSelect |
|
||||||||||||||||||||||||
| ByRef iVoltage As Integer | 电压 (mV) | |||||||||||||||||||||||||
| 示例 | Dim ret As Integer ret = GetCurrentVolt(MONITOR_VOLT_VCOREA, &iVoltage); |
|||||||||||||||||||||||||