ID2D1Factory_ReloadSystemMetrics

ファクトリー作成後に変更された可能性のあるシステム既定値を、強制的にリロードする。

ID2D1Factory_ReloadSystemMetrics this

this : [comobj] ID2D1Factory インターフェースの COM オブジェクト変数

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

解説

ファクトリー作成後に変更された可能性のあるシステム既定値を、強制的にリロードする。

[戻り値]
型: HRESULT このメソッドが成功した場合 S_OK を返す。そうでなければ
[**HRESULT**](/windows/desktop/com/structure-of-com-error-codes)
エラーコードを返す。

[備考]
システム DPI
を最新の状態にするため、[GetDesktopDpi](/windows/win32/api/d2d1/nf-d2d1-id2d1factory-getdesktopdpi)
メソッドを呼び出す前に **ID2D1Factory.ReloadSystemMetrics** を呼び出しておくべきである。

情報

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