Austin English : pdh: Add PdhBindInputDataSourceA/W stubs.

Alexandre Julliard julliard at winehq.org
Fri Oct 7 15:09:15 CDT 2016


Module: wine
Branch: stable
Commit: 08c560be7e5a8342661b09b25fe3588713213432
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=08c560be7e5a8342661b09b25fe3588713213432

Author: Austin English <austinenglish at gmail.com>
Date:   Sat Dec 26 22:44:02 2015 -0600

pdh: Add PdhBindInputDataSourceA/W stubs.

Signed-off-by: Austin English <austinenglish at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit de71271347dd38849aa006fe88c4eaf6ce029783)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 dlls/pdh/pdh.spec   |  4 ++--
 dlls/pdh/pdh_main.c | 18 ++++++++++++++++++
 include/pdh.h       |  3 +++
 3 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/dlls/pdh/pdh.spec b/dlls/pdh/pdh.spec
index 529b92d..9de9436 100644
--- a/dlls/pdh/pdh.spec
+++ b/dlls/pdh/pdh.spec
@@ -5,8 +5,8 @@
 @ stdcall PdhAddCounterW(ptr wstr long ptr)
 @ stdcall PdhAddEnglishCounterA(ptr str long ptr)
 @ stdcall PdhAddEnglishCounterW(ptr wstr long ptr)
-@ stub PdhBindInputDataSourceA
-@ stub PdhBindInputDataSourceW
+@ stdcall PdhBindInputDataSourceA(ptr str)
+@ stdcall PdhBindInputDataSourceW(ptr wstr)
 @ stub PdhBrowseCountersA
 @ stub PdhBrowseCountersHA
 @ stub PdhBrowseCountersHW
diff --git a/dlls/pdh/pdh_main.c b/dlls/pdh/pdh_main.c
index 036d28b..149eb88 100644
--- a/dlls/pdh/pdh_main.c
+++ b/dlls/pdh/pdh_main.c
@@ -1287,3 +1287,21 @@ PDH_STATUS WINAPI PdhGetLogFileTypeW(PDH_HLOG log, DWORD *type)
     FIXME("%p, %p: stub\n", log, type);
     return PDH_NOT_IMPLEMENTED;
 }
+
+/***********************************************************************
+ *              PdhBindInputDataSourceA   (PDH.@)
+ */
+PDH_STATUS WINAPI PdhBindInputDataSourceA(PDH_HLOG *source, const char *filenamelist)
+{
+    FIXME("%p %s: stub\n", source, debugstr_a(filenamelist));
+    return PDH_NOT_IMPLEMENTED;
+}
+
+/***********************************************************************
+ *              PdhBindInputDataSourceW   (PDH.@)
+ */
+PDH_STATUS WINAPI PdhBindInputDataSourceW(PDH_HLOG *source, const WCHAR *filenamelist)
+{
+    FIXME("%p %s: stub\n", source, debugstr_w(filenamelist));
+    return PDH_NOT_IMPLEMENTED;
+}
diff --git a/include/pdh.h b/include/pdh.h
index a25eb2e..3d688bd 100644
--- a/include/pdh.h
+++ b/include/pdh.h
@@ -200,6 +200,9 @@ PDH_STATUS WINAPI PdhAddCounterW(PDH_HQUERY, LPCWSTR, DWORD_PTR, PDH_HCOUNTER *)
 PDH_STATUS WINAPI PdhAddEnglishCounterA(PDH_HQUERY, LPCSTR, DWORD_PTR, PDH_HCOUNTER *);
 PDH_STATUS WINAPI PdhAddEnglishCounterW(PDH_HQUERY, LPCWSTR, DWORD_PTR, PDH_HCOUNTER *);
 #define    PdhAddEnglishCounter WINELIB_NAME_AW(PdhAddEnglishCounter)
+PDH_STATUS WINAPI PdhBindInputDataSourceA(PDH_HLOG *, const char *);
+PDH_STATUS WINAPI PdhBindInputDataSourceW(PDH_HLOG *, const WCHAR *);
+#define    PdhBindInputDataSource WINELIB_NAME_AW(PdhBindInputDataSource)
 PDH_STATUS WINAPI PdhCloseQuery(PDH_HQUERY);
 PDH_STATUS WINAPI PdhCollectQueryData(PDH_HQUERY);
 PDH_STATUS WINAPI PdhCollectQueryDataEx(PDH_HQUERY, DWORD, HANDLE);




More information about the wine-cvs mailing list