| GetCurrentFan | |||||||||||
| 调用方法 | BOOL GetCurrentFan(int iSelect, int *iFan); | ||||||||||
| 返回值 |
|
||||||||||
| 参数 | int iSelect |
|
|||||||||
| int *iFan | 风扇速度 | ||||||||||
| 示例 | int ret, iFan; ret = GetCurrentVolt(MONITOR_FAN2, &iFan); |
||||||||||
| 必要条件 |
|
||||||||||
| GetCurrentFan | |||||||||||
| 调用方法 | [DllImport("Ioctl.dll")] static extern int GetCurrentFan(int iSelect, ref int iFan); | ||||||||||
| 返回值 |
|
||||||||||
| 参数 | int iSelect |
|
|||||||||
| ref int iFan | 风扇速度 | ||||||||||
| 示例 | int ret, iFan; ret = GetCurrentFan(MONITOR_FAN2, ref iFan); |
||||||||||
| GetCurrentFan | |||||||||||
| 调用方法 | Declare Function GetCurrentFan Lib "Ioctl.dll"(ByVal iSelect As Integer, ByRef iFan As Integer)As Integer | ||||||||||
| 返回值 |
|
||||||||||
| 参数 | ByVal iSelect As Integer |
|
|||||||||
| ByRef iFan As Integer | 风扇速度 | ||||||||||
| 示例 | Dim ret As Integer Dim iFan As Integer ret = GetCurrentFan(MONITOR_FAN2, iFan) |
||||||||||