次の方法で共有


ICompositionDrawingSurfaceInterop::Resize メソッド (windows.ui.composition.interop.h)

サーフェスのサイズを変更します。

構文

HRESULT Resize(
  [in] SIZE sizePixels
);

パラメーター

[in] sizePixels

種類: SIZE

サーフェスの幅と高さ (ピクセル単位)。

戻り値

型: HRESULT

このメソッドは、成功すると S_OK を返します。 成功しなかった場合は、HRESULT エラー コードを返します。

要件

   
対象プラットフォーム Windows
ヘッダー windows.ui.composition.interop.h

関連項目

ICompositionDrawingSurfaceInterop