Austin English : pdh: Add PdhBindInputDataSourceA/W stubs.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Dec 30 18:33:43 CST 2015


Module: wine
Branch: master
Commit: de71271347dd38849aa006fe88c4eaf6ce029783
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=de71271347dd38849aa006fe88c4eaf6ce029783

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>

---

 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 41900c8..72e6fa3 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 8854fd7..39f9f25 100644
--- a/dlls/pdh/pdh_main.c
+++ b/dlls/pdh/pdh_main.c
@@ -1287,3 +1287,21 @@ PDH_STATUS WINAPI PdhGetLogFileTypeW(const WCHAR *log, DWORD *type)
     FIXME("%s, %p: stub\n", debugstr_w(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