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
4
#
include
"quniquehandle_types_windows_p.h"
5
6
QT_BEGIN_NAMESPACE
7
8
namespace
QtUniqueHandleTraits
{
9
10
bool
HDCTraits
::
close
(
Type
handle
,
HWND
hwnd
)
noexcept
11
{
12
return
::
ReleaseDC
(
hwnd
,
handle
);
13
}
14
15
}
// namespace QtUniqueHandleTraits
16
17
QT_END_NAMESPACE
QtUniqueHandleTraits
Definition
quniquehandle_types_windows.cpp:8
qtbase
src
corelib
platform
windows
quniquehandle_types_windows.cpp
Generated on
for Qt by
1.14.0