SetWdtCounter

概要

WDTのタイムアウト値を設定します。

補足

なし

VC++ .NET VC# .NET VB .NET


VC++ .NET

SetWdtCounter
呼び出し形式 BOOL SetWdtCounter(int iCounter);
戻り値
TRUE 正常
FALSE エラー
引数 int iCounter タイムアウト値 (5 - 255秒)
int ret;
ret = SetWdtCounter(10);
必要条件
ヘッダー iocif.h/iocifconst.h
ライブラリ ioctl.lib

ページTopへ

VC# .NET

SetWdtCounter
呼び出し形式 [DllImport("Ioctl.dll")] static extern int SetWdtCounter(int iCounter);
戻り値
0以外 正常
0 エラー
引数 int iCounter タイムアウト値 (5 - 255秒)
int ret;
ret = SetWdtCounter(10);

ページTopへ

VB .NET

SetWdtCounter
呼び出し形式 Declare Function SetWdtCounter Lib "Ioctl.dll"(ByVal iCounter As Integer)As Integer
戻り値
0以外 正常
0 エラー
引数 ByVal iCounter As Integer タイムアウト値 (5 - 255秒)
Dim ret As Integer
ret = SetWdtCounter(10)

ページTopへ