Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qbluetoothutils_winrt_p.h File Reference
#include <winrt/base.h>
#include <QtCore/private/qfactorycacheregistration_p.h>
#include <QtCore/QtGlobal>
#include <QtCore/private/qglobal_p.h>
#include <wrl/client.h>
+ Include dependency graph for qbluetoothutils_winrt_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  winrt
 
namespace  winrt::impl
 
namespace  ABI
 
namespace  ABI::Windows
 
namespace  ABI::Windows::Storage
 
namespace  ABI::Windows::Storage::Streams
 

Typedefs

using NativeBuffer = ABI::Windows::Storage::Streams::IBuffer
 

Functions

template<typename Async >
auto winrt::impl::wait_for (Async const &async, Windows::Foundation::TimeSpan const &timeout)
 
QByteArray byteArrayFromBuffer (const Microsoft::WRL::ComPtr< NativeBuffer > &buffer, bool isWCharString=false)
 
void mainThreadCoInit (void *caller)
 
void mainThreadCoUninit (void *caller)
 

Typedef Documentation

◆ NativeBuffer

using NativeBuffer = ABI::Windows::Storage::Streams::IBuffer

Definition at line 45 of file qbluetoothutils_winrt_p.h.

Function Documentation

◆ byteArrayFromBuffer()

QByteArray byteArrayFromBuffer ( const Microsoft::WRL::ComPtr< NativeBuffer > &  buffer,
bool  isWCharString = false 
)

Definition at line 23 of file qbluetoothutils_winrt.cpp.

References QString::fromUtf16(), QString::left(), qErrnoWarning(), and QString::toUtf8().

+ Here is the call graph for this function:

◆ mainThreadCoInit()

void mainThreadCoInit ( void caller)

Definition at line 47 of file qbluetoothutils_winrt.cpp.

References QThread::currentThread(), QCoreApplication::instance(), Q_ASSERT, qCWarning, and successfulInits.

Referenced by QBluetoothSocketPrivateWinRT::QBluetoothSocketPrivateWinRT().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mainThreadCoUninit()

void mainThreadCoUninit ( void caller)

Definition at line 69 of file qbluetoothutils_winrt.cpp.

References QThread::currentThread(), QCoreApplication::instance(), Q_ASSERT, qCWarning, and successfulInits.

Referenced by QBluetoothSocketPrivateWinRT::~QBluetoothSocketPrivateWinRT().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: