You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Rebase against 85f1a79be8bbb9b62ad88e0d0fbf1e005fd3ba16
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
From 342951349469b7a84f3226d02f04ca5401982273 Mon Sep 17 00:00:00 2001
|
||||
From 51ba80615215fac54b251e56a374dfab9a2b834b Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Sat, 15 Aug 2015 02:59:17 +0200
|
||||
Subject: dxdiagn: Enumerate DirectSound devices and add some basic properties.
|
||||
Subject: [PATCH] dxdiagn: Enumerate DirectSound devices and add some basic
|
||||
properties.
|
||||
|
||||
---
|
||||
dlls/dxdiagn/Makefile.in | 2 +-
|
||||
dlls/dxdiagn/provider.c | 91 ++++++++++++++++++++++++++
|
||||
dlls/dxdiagn/tests/container.c | 141 +++++++++++++++++++++++++++++++++++++++++
|
||||
dlls/dxdiagn/provider.c | 91 +++++++++++++++++++++
|
||||
dlls/dxdiagn/tests/container.c | 141 +++++++++++++++++++++++++++++++++
|
||||
3 files changed, 233 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/dxdiagn/Makefile.in b/dlls/dxdiagn/Makefile.in
|
||||
index 3a1017e9d0a..87f6177aadf 100644
|
||||
index c16396e464b..e926d3b2a8a 100644
|
||||
--- a/dlls/dxdiagn/Makefile.in
|
||||
+++ b/dlls/dxdiagn/Makefile.in
|
||||
@@ -1,5 +1,5 @@
|
||||
@@ -21,18 +22,18 @@ index 3a1017e9d0a..87f6177aadf 100644
|
||||
C_SRCS = \
|
||||
container.c \
|
||||
diff --git a/dlls/dxdiagn/provider.c b/dlls/dxdiagn/provider.c
|
||||
index 5665d01d5b8..20998bc9aba 100644
|
||||
index 1fdab5e2db0..6fb9e585dbd 100644
|
||||
--- a/dlls/dxdiagn/provider.c
|
||||
+++ b/dlls/dxdiagn/provider.c
|
||||
@@ -38,6 +38,7 @@
|
||||
#include "fil_data.h"
|
||||
#include "wine/fil_data.h"
|
||||
#include "psapi.h"
|
||||
#include "wbemcli.h"
|
||||
+#include "dsound.h"
|
||||
|
||||
#include "wine/debug.h"
|
||||
|
||||
@@ -1195,11 +1196,85 @@ static HRESULT build_displaydevices_tree(IDxDiagContainerImpl_Container *node)
|
||||
@@ -1354,11 +1355,85 @@ static HRESULT build_displaydevices_tree(IDxDiagContainerImpl_Container *node)
|
||||
return fill_display_information_fallback(node);
|
||||
}
|
||||
|
||||
@@ -118,7 +119,7 @@ index 5665d01d5b8..20998bc9aba 100644
|
||||
IDxDiagContainerImpl_Container *cont;
|
||||
|
||||
cont = allocate_information_node(DxDiag_SoundDevices);
|
||||
@@ -1208,12 +1283,28 @@ static HRESULT build_directsound_tree(IDxDiagContainerImpl_Container *node)
|
||||
@@ -1367,12 +1442,28 @@ static HRESULT build_directsound_tree(IDxDiagContainerImpl_Container *node)
|
||||
|
||||
add_subcontainer(node, cont);
|
||||
|
||||
@@ -148,7 +149,7 @@ index 5665d01d5b8..20998bc9aba 100644
|
||||
}
|
||||
|
||||
diff --git a/dlls/dxdiagn/tests/container.c b/dlls/dxdiagn/tests/container.c
|
||||
index 5bc5161635a..2ffe0fb685b 100644
|
||||
index 936707632a4..c80717cd392 100644
|
||||
--- a/dlls/dxdiagn/tests/container.c
|
||||
+++ b/dlls/dxdiagn/tests/container.c
|
||||
@@ -36,6 +36,11 @@ static IDxDiagContainer *pddc;
|
||||
@@ -163,7 +164,7 @@ index 5bc5161635a..2ffe0fb685b 100644
|
||||
|
||||
/* Based on debugstr_variant in dlls/jscript/jsutils.c. */
|
||||
static const char *debugstr_variant(const VARIANT *var)
|
||||
@@ -1020,6 +1025,140 @@ cleanup:
|
||||
@@ -1022,6 +1027,140 @@ cleanup:
|
||||
IDxDiagProvider_Release(pddp);
|
||||
}
|
||||
|
||||
@@ -304,7 +305,7 @@ index 5bc5161635a..2ffe0fb685b 100644
|
||||
START_TEST(container)
|
||||
{
|
||||
CoInitialize(NULL);
|
||||
@@ -1034,5 +1173,7 @@ START_TEST(container)
|
||||
@@ -1036,5 +1175,7 @@ START_TEST(container)
|
||||
test_root_children();
|
||||
test_DxDiag_SystemInfo();
|
||||
test_DxDiag_DisplayDevices();
|
||||
@@ -313,5 +314,5 @@ index 5bc5161635a..2ffe0fb685b 100644
|
||||
CoUninitialize();
|
||||
}
|
||||
--
|
||||
2.11.0
|
||||
2.18.0
|
||||
|
||||
|
Reference in New Issue
Block a user