Windows が起動してから経過した時間を取得する
Declare Function timeGetSystemTime Lib "winmm.dll" _
(lpTime As MMTIME, ByVal uSize As Long) As Long
Declare Function timeGetSystemTime Lib "winmm.dll" _
(lpTime As MMTIME, ByVal uSize As Integer) As Integer
MMRESULT timeGetSystemTime(
LPMMTIME pmmt,
UINT cbmmt
);
引数
lpTime
MMTIME構造体uSize
MMTIME構造体のサイズ(バイト単位)戻り値
正常終了のとき TIMERR_NOERROR備考
システム時刻は、MMTIME構造体のmsに返される。
timeGetTime()関数の説明を参照