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
win_util.h
Go to the documentation of this file.
1// Copyright 2024 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CORE_FXCRT_WIN_WIN_UTIL_H_
6#define CORE_FXCRT_WIN_WIN_UTIL_H_
7
8namespace pdfium {
9
10// Returns true if the current process can make USER32 or GDI32 calls such as
11// CreateWindow and CreateDC. Windows 8 and above allow the kernel component
12// of these calls to be disabled which can cause undefined behaviour such as
13// crashes. This function can be used to guard areas of code using these calls
14// and provide a fallback path if necessary.
16
17} // namespace pdfium
18
19#endif // CORE_FXCRT_WIN_WIN_UTIL_H_
bool IsUser32AndGdi32Available()
Definition win_util.cc:12