Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
quniquehandle_types_windows.cpp
Go to the documentation of this file.
1// Copyright (C) 2025 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
6
7QT_BEGIN_NAMESPACE
8
10
11bool HDCTraits::close(Type handle, HWND hwnd) noexcept
12{
13 return ::ReleaseDC(hwnd, handle);
14}
15
16} // namespace QtUniqueHandleTraits
17
18QT_END_NAMESPACE