timeGetSystemTime

timeGetSystemTime 関数はシステム時刻をミリ秒単位で取得する。

timeGetSystemTime pmmt, cbmmt

pmmt : [var] MMTIME 構造体へのポインタ。
cbmmt : [int] MMTIME 構造体のサイズ (バイト単位)。

(プラグイン / モジュール : winmm.dll)

解説

timeGetSystemTime 関数はシステム時刻をミリ秒単位で取得する。

[戻り値]
成功時は TIMERR_NOERROR を返す。それ以外の場合はエラーコードを返す。

[備考]
システム時刻は MMTIME 構造体の ms メンバに返される。

情報

プラグイン / モジュールwinmm.dll
バージョン1.0
作成日2026/04/16
著作者IronHSP / CsWin32 bridge
URLhttps://github.com/inovia/IronHSP
備考Win32 API の winmm.dll 関数群。CsWin32 + win32metadata から自動生成。
hsp3net 専用 (intptr / NSTRUCT / wstr を使用)。
タイプ拡張命令
グループWin32API
対応環境
  • Windows 版 HSP
hs ファイルhsphelp\win32_winmm_gen2.hs