Graphics::ReleaseHDC メソッドは、この Graphics オブジェクトの Graphics::GetHDC メソッドの前回の呼び出しによって取得されたデバイス コンテキスト ハンドルを解放します。
構文
void ReleaseHDC(
[in] HDC hdc
);
パラメーター
[in] hdc
種類: HDC
この Graphics オブジェクトの Graphics::GetHDC メソッドの以前の呼び出しによって取得されたデバイス コンテキストを処理します。
戻り値
なし
必要条件
| サポートされている最小のクライアント | Windows XP、Windows 2000 Professional [デスクトップ アプリのみ] |
| サポートされている最小のサーバー | Windows 2000 Server [デスクトップ アプリのみ] |
| 対象プラットフォーム | Windows |
| ヘッダー | gdiplusgraphics.h (Gdiplus.h を含む) |
| Library | Gdiplus.lib |
| [DLL] | Gdiplus.dll |