![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qfunctions_win_p.h"
#include <QtCore/qdebug.h>
#include <combaseapi.h>
#include <objbase.h>
Go to the source code of this file.
Functions | |
void | qt_win_ensureComInitializedOnThisThread () |
bool | qt_win_hasPackageIdentity () |
void qt_win_ensureComInitializedOnThisThread | ( | ) |
Make sure the COM library is is initialized on current thread.
Initializes COM as a single-threaded apartment on this thread and ensures that CoUninitialize will be called on the same thread when the thread exits. Note that the last call to CoUninitialize on the main thread will always be made during destruction of static variables at process exit.
https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/modernize-packaged-apps
Definition at line 48 of file qfunctions_win.cpp.
bool qt_win_hasPackageIdentity | ( | ) |
Checks if the application has a {package identity}
Having a {package identity} is required to use many modern Windows APIs.
https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/modernize-packaged-apps
Definition at line 62 of file qfunctions_win.cpp.