ID2D1GdiInteropRenderTarget::ReleaseDC メソッド
GetDC メソッドで取得したデバイス コンテキストを使用した描画が終了したことを示します。
構文
virtual HRESULT ReleaseDC(
[in, optional] RECT *update
) = 0;
パラメーター
- update [in, optional]
RECT デバイス コンテキストの変更後の領域。レンダー ターゲット全体を指定する場合は NULL。
戻り値
メソッドが成功した場合は、S_OK が返されます。 それ以外の場合は、エラー コードが返されます。HRESULT.
解説
ReleaseDC は、GetDC を呼び出すたびに 1 回呼び出す必要があります。
要件
クライアントの最小要件 |
Windows 7, Windows Vista SP2 および Windows Vista 用のプラットフォーム更新プログラム |
サーバーの最小要件 |
Windows Server 2008 R2, Windows Server 2008 SP2 および Windows Server 2008 用のプラットフォーム更新プログラム |
ヘッダー |
D2d1.h |
ライブラリ |
D2d1.lib |
DLL |
D2d1.dll |