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
qbluetoothutils_winrt.cpp File Reference

(f762e9b646e240d9e8d3d7de928ae1333227c8a0)

#include "qbluetoothutils_winrt_p.h"
#include <QtBluetooth/private/qtbluetoothglobal_p.h>
#include <QtCore/private/qfunctions_winrt_p.h>
#include <QtCore/QLoggingCategory>
#include <robuffer.h>
#include <wrl.h>
#include <winrt/windows.foundation.metadata.h>
#include <windows.storage.streams.h>
Include dependency graph for qbluetoothutils_winrt.cpp:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE QByteArray byteArrayFromBuffer (const ComPtr< NativeBuffer > &buffer, bool isWCharString)
void mainThreadCoInit (void *caller)
void mainThreadCoUninit (void *caller)

Variables

static QSet< void * > successfulInits
static QThreadmainThread = nullptr

Function Documentation

◆ byteArrayFromBuffer()

QT_BEGIN_NAMESPACE QByteArray byteArrayFromBuffer ( const ComPtr< NativeBuffer > & buffer,
bool isWCharString )

Definition at line 23 of file qbluetoothutils_winrt.cpp.

◆ mainThreadCoInit()

void mainThreadCoInit ( void * caller)

Definition at line 48 of file qbluetoothutils_winrt.cpp.

Referenced by QBluetoothSocketPrivateWinRT::QBluetoothSocketPrivateWinRT().

Here is the caller graph for this function:

◆ mainThreadCoUninit()

void mainThreadCoUninit ( void * caller)

Definition at line 75 of file qbluetoothutils_winrt.cpp.

Referenced by QBluetoothSocketPrivateWinRT::~QBluetoothSocketPrivateWinRT().

Here is the caller graph for this function:

Variable Documentation

◆ mainThread

QThread * mainThread = nullptr
static

Definition at line 46 of file qbluetoothutils_winrt.cpp.

◆ successfulInits

QSet< void * > successfulInits
static

Definition at line 45 of file qbluetoothutils_winrt.cpp.