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

(2352d257675855719f3ee606d5d8e89dc2e6d77e)

#include "qwindowsvideodevices_p.h"
#include <QtCore/quuid.h>
#include <QtCore/private/qcomptr_p.h>
#include <QtCore/private/qfunctions_win_p.h>
#include <QtMultimedia/private/qcameradevice_p.h>
#include <QtMultimedia/private/qcomtaskresource_p.h>
#include <QtMultimedia/private/qwindowsmultimediautils_p.h>
#include <dbt.h>
#include <mfapi.h>
#include <mfidl.h>
#include <mfreadwrite.h>
#include <mferror.h>
#include <ks.h>
Include dependency graph for qwindowsvideodevices.cpp:

Go to the source code of this file.

Namespaces

namespace  QT_BEGIN_NAMESPACE
 Combined button and popup list for selecting options.

Functions

LRESULT QT_WIN_CALLBACK QT_BEGIN_NAMESPACE::deviceNotificationWndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
LPCWSTR QT_BEGIN_NAMESPACE::getWindowsClassName ()
HWND QT_BEGIN_NAMESPACE::createMessageOnlyWindow ()
static QString getString (IMFActivate *device, const IID &id)
static std::optional< QCameraDevicecreateCameraDevice (const QWindowsMediaFoundation &wmf, IMFActivate *device)
static QList< QCameraDevicereadCameraDevices (const QWindowsMediaFoundation &wmf, IMFAttributes *attr)

Variables

static constexpr GUID KSCATEGORY_SENSOR_CAMERA

Function Documentation

◆ createCameraDevice()

std::optional< QCameraDevice > createCameraDevice ( const QWindowsMediaFoundation & wmf,
IMFActivate * device )
static

Definition at line 138 of file qwindowsvideodevices.cpp.

◆ getString()

QString getString ( IMFActivate * device,
const IID & id )
static

Definition at line 126 of file qwindowsvideodevices.cpp.

◆ readCameraDevices()

QList< QCameraDevice > readCameraDevices ( const QWindowsMediaFoundation & wmf,
IMFAttributes * attr )
static

Definition at line 177 of file qwindowsvideodevices.cpp.

Variable Documentation

◆ KSCATEGORY_SENSOR_CAMERA

constexpr GUID KSCATEGORY_SENSOR_CAMERA
staticconstexpr
Initial value:
= {
0x24e552d7, 0x6523, 0x47f7, { 0xa6, 0x47, 0xd3, 0x46, 0x5b, 0xf1, 0xf5, 0xca }
}

Definition at line 23 of file qwindowsvideodevices.cpp.