ファクトリー作成後に変更された可能性のあるシステム既定値を、強制的にリロードする。
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 |
| URL | https://github.com/inovia/IronHSP |
| 備考 | Win32 API の com_misc.dll 関数群。CsWin32 + win32metadata から自動生成。
hsp3net 専用 (intptr / NSTRUCT / wstr を使用)。 |
| タイプ | 拡張命令 |
| グループ | Win32API |
| 対応環境 |
|
| hs ファイル | hsphelp\win32_com_misc_gen2.hs |