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

(11e5c8710fe7bcc97dfc682c0f247dd922e1a0ed)

#include "qbluetoothutils_winrt_p.h"
#include <QtBluetooth/private/qtbluetoothglobal_p.h>
#include <QtCore/private/qfunctions_winrt_p.h>
#include <QtCore/qhash.h>
#include <QtCore/QLoggingCategory>
#include <QtCore/qmutex.h>
#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 threadCoInit (void *caller)
void threadCoUninit (void *caller)

Variables

static QHash< void *, QThread * > successfulInits
static QBasicMutex initsMutex

Function Documentation

◆ byteArrayFromBuffer()

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

Definition at line 25 of file qbluetoothutils_winrt.cpp.

◆ threadCoInit()

void threadCoInit ( void * caller)

Definition at line 50 of file qbluetoothutils_winrt.cpp.

Referenced by QBluetoothSocketPrivateWinRT::QBluetoothSocketPrivateWinRT().

Here is the caller graph for this function:

◆ threadCoUninit()

void threadCoUninit ( void * caller)

Definition at line 76 of file qbluetoothutils_winrt.cpp.

Referenced by QBluetoothSocketPrivateWinRT::~QBluetoothSocketPrivateWinRT().

Here is the caller graph for this function:

Variable Documentation

◆ initsMutex

QBasicMutex initsMutex
static

Definition at line 48 of file qbluetoothutils_winrt.cpp.

◆ successfulInits

QHash< void *, QThread * > successfulInits
static

Definition at line 47 of file qbluetoothutils_winrt.cpp.