Module: wine Branch: master Commit: ebb0a399a5c005fc3569d44ff1ee572aee83d8f4 URL: https://gitlab.winehq.org/wine/wine/-/commit/ebb0a399a5c005fc3569d44ff1ee572...
Author: Mohamad Al-Jaf mohamadaljaf@gmail.com Date: Tue Aug 1 23:11:21 2023 -0400
include: Add IDeviceInformationStatics interface definition.
---
include/windows.devices.enumeration.idl | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+)
diff --git a/include/windows.devices.enumeration.idl b/include/windows.devices.enumeration.idl index a88cb69edac..4f15ac811bc 100644 --- a/include/windows.devices.enumeration.idl +++ b/include/windows.devices.enumeration.idl @@ -192,6 +192,44 @@ namespace Windows.Devices.Enumeration { [propget] HRESULT Panel([out, retval] Windows.Devices.Enumeration.Panel *value); }
+ [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + exclusiveto(Windows.Devices.Enumeration.DeviceInformation), + uuid(c17f100e-3a46-4a78-8013-769dc9b97390) + ] + interface IDeviceInformationStatics : IInspectable + { + [overload("CreateFromIdAsync")] + HRESULT CreateFromIdAsync([in] HSTRING id, + [out, retval] Windows.Foundation.IAsyncOperation<Windows.Devices.Enumeration.DeviceInformation *> **op); + [overload("CreateFromIdAsync")] + HRESULT CreateFromIdAsyncAdditionalProperties([in] HSTRING id, + [in] Windows.Foundation.Collections.IIterable<HSTRING> *additional_properties, + [out, retval] Windows.Foundation.IAsyncOperation<Windows.Devices.Enumeration.DeviceInformation *> **op); + [overload("FindAllAsync")] + HRESULT FindAllAsync([out, retval] Windows.Foundation.IAsyncOperation<Windows.Devices.Enumeration.DeviceInformationCollection *> **op); + [overload("FindAllAsync"), default_overload] + HRESULT FindAllAsyncDeviceClass([in] Windows.Devices.Enumeration.DeviceClass device_class, + [out, retval] Windows.Foundation.IAsyncOperation<Windows.Devices.Enumeration.DeviceInformationCollection *> **op); + [overload("FindAllAsync")] + HRESULT FindAllAsyncAqsFilter([in] HSTRING filter, + [out, retval] Windows.Foundation.IAsyncOperation<Windows.Devices.Enumeration.DeviceInformationCollection *> **op); + [overload("FindAllAsync")] + HRESULT FindAllAsyncAqsFilterAndAdditionalProperties([in] HSTRING filter, + [in] Windows.Foundation.Collections.IIterable<HSTRING> *additional_properties, + [out, retval] Windows.Foundation.IAsyncOperation<Windows.Devices.Enumeration.DeviceInformationCollection *> **op); + [overload("CreateWatcher")] + HRESULT CreateWatcher([out, retval] Windows.Devices.Enumeration.DeviceWatcher **watcher); + [overload("CreateWatcher"), default_overload] + HRESULT CreateWatcherDeviceClass([in] Windows.Devices.Enumeration.DeviceClass device_class, + [out, retval] Windows.Devices.Enumeration.DeviceWatcher **watcher); + [overload("CreateWatcher")] + HRESULT CreateWatcherAqsFilter([in] HSTRING filter, [out, retval] Windows.Devices.Enumeration.DeviceWatcher **watcher); + [overload("CreateWatcher")] + HRESULT CreateWatcherAqsFilterAndAdditionalProperties([in] HSTRING filter, + [in] Windows.Foundation.Collections.IIterable<HSTRING> *additional_properties, [out, retval] Windows.Devices.Enumeration.DeviceWatcher **watcher); + } + [ contract(Windows.Foundation.UniversalApiContract, 1.0), exclusiveto(Windows.Devices.Enumeration.DeviceInformation),