|
duvc-ctl 2.0.0
USB Video Class Camera Control Library
|
Device enumeration and management implementation. More...
#include <duvc-ctl/core/device.h>#include <duvc-ctl/detail/com_helpers.h>#include <comdef.h>#include <dbt.h>#include <dshow.h>#include <duvc-ctl/platform/windows/connection_pool.h>#include <duvc-ctl/utils/string_conversion.h>Go to the source code of this file.
Namespaces | |
| namespace | duvc |
Functions | |
| com_ptr< ICreateDevEnum > | duvc::create_dev_enum () |
| Create DirectShow device enumerator. | |
| com_ptr< IEnumMoniker > | duvc::enum_video_devices (ICreateDevEnum *dev) |
| Enumerate video input devices. | |
| static std::wstring | duvc::read_prop_bstr (IPropertyBag *bag, const wchar_t *key) |
| std::wstring | duvc::read_friendly_name (IMoniker *mon) |
| Read friendly name from device moniker. | |
| std::wstring | duvc::read_device_path (IMoniker *mon) |
| Read device path from moniker. | |
| bool | duvc::is_same_device (const Device &d, const std::wstring &name, const std::wstring &path) |
| Check if two device identifiers refer to same device. | |
| std::vector< Device > | duvc::list_devices () |
| Enumerate all available video input devices. | |
| bool | duvc::is_device_connected (const Device &dev) |
| Check if a device is currently connected and accessible. | |
Variables | |
| EXTERN_C const CLSID | CLSID_SystemDeviceEnum |
| EXTERN_C const CLSID | CLSID_VideoInputDeviceCategory |
| EXTERN_C const IID | IID_ICreateDevEnum |
| EXTERN_C const IID | IID_IPropertyBag |
Device enumeration and management implementation.
Definition in file device.cpp.
| EXTERN_C const CLSID CLSID_SystemDeviceEnum |
Definition at line 17 of file device.cpp.
Referenced by duvc::create_dev_enum(), duvc::find_device_by_path(), and duvc::get_diagnostic_info().
| EXTERN_C const CLSID CLSID_VideoInputDeviceCategory |
Definition at line 18 of file device.cpp.
Referenced by duvc::enum_video_devices(), duvc::find_device_by_path(), duvc::register_device_change_callback(), and duvc::register_device_notifications().
| EXTERN_C const IID IID_ICreateDevEnum |
Definition at line 19 of file device.cpp.
Referenced by duvc::create_dev_enum(), duvc::find_device_by_path(), and duvc::get_diagnostic_info().
| EXTERN_C const IID IID_IPropertyBag |
Definition at line 20 of file device.cpp.
Referenced by duvc::read_device_path(), and duvc::read_friendly_name().