DwmSetPresentParameters 関数 (dwmapi.h)

フレームコンポジションの現在のパラメータを設定します。

DwmSetPresentParameters はサポートされなくなりました。 Windows 8.1以降、DwmSetPresentParameters の呼び出しは常にE_NOTIMPLを返します。

構文

HRESULT DwmSetPresentParameters(
            HWND                   hwnd,
  [in, out] DWM_PRESENT_PARAMETERS *pPresentParams
);

パラメーター

hwnd

現在のパラメーターが適用されるウィンドウへのハンドル。

[in, out] pPresentParams

フレーム構成の DWM ビデオ フレーム パラメーターを含む DWM_PRESENT_PARAMETERS 構造体へのポインター。

戻り値

この関数は、必ず S_OK を返します。

要件

   
サポートされている最小のクライアント Windows Vista [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows Server 2008 [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー dwmapi.h
Library Dwmapi.lib
[DLL] Dwmapi.dll