| GetEnableFan | |||||||||||
| 调用方法 | BOOL GetEnableFan(int iSelect, int *piEnable); | ||||||||||
| 返回值 |
|
||||||||||
| 参数 | int iSelect |
|
|||||||||
| int *piEnable | 风扇监视有效或无效 | ||||||||||
| 示例 | int iEnable; BOOL ret = GetEnebleFan(MONITOR_FAN1, iEnable); |
||||||||||
| 必要条件 |
|
||||||||||
| GetEnableFan | |||||||||||
| 调用方法 | [DllImport("Ioctl.dll")] static extern int GetEnableFan (int iSelect, ref int piEnable); | ||||||||||
| 返回值 |
|
||||||||||
| 参数 | int iSelect |
|
|||||||||
| ref int piEnable | 风扇监视有效或无效 | ||||||||||
| 示例 | int iRetrun; int iEnable; iReturn = GetEnebleFan(MONITOR_FAN1, ref iEnable); |
||||||||||
| GetEnableFan | |||||||||||
| 调用方法 | Declare Function GetEnableFan Lib "Ioctl.dll"(ByVal iSelect As Integer, ByRef iEnable As Integer)As Integer | ||||||||||
| 返回值 |
|
||||||||||
| 参数 | ByVal iSelect As Integer |
|
|||||||||
| ByRef iEnable As Integer | 风扇监视有效或无效 | ||||||||||
| 示例 | Dim ret As Integer Dim iEnable As Integer ret = GetEnableFan(MONITOR_FAN1, iEnable) |
||||||||||