Austin English : pdh: Add PdhGetLogFileTypeA/W stubs.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Dec 24 14:40:05 CST 2015


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

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Dec 23 00:31:20 2015 -0600

pdh: Add PdhGetLogFileTypeA/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 ++++++++++++++++++
 2 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/dlls/pdh/pdh.spec b/dlls/pdh/pdh.spec
index fc1aa4f..529b92d 100644
--- a/dlls/pdh/pdh.spec
+++ b/dlls/pdh/pdh.spec
@@ -62,8 +62,8 @@
 @ stub PdhGetFormattedCounterArrayW
 @ stdcall PdhGetFormattedCounterValue(ptr long ptr ptr)
 @ stub PdhGetLogFileSize
-@ stub PdhGetLogFileTypeA
-@ stub PdhGetLogFileTypeW
+@ stdcall PdhGetLogFileTypeA(ptr ptr)
+@ stdcall PdhGetLogFileTypeW(ptr ptr)
 @ stub PdhGetLogSetGUID
 @ stub PdhGetRawCounterArrayA
 @ stub PdhGetRawCounterArrayW
diff --git a/dlls/pdh/pdh_main.c b/dlls/pdh/pdh_main.c
index 2631fe1..036d28b 100644
--- a/dlls/pdh/pdh_main.c
+++ b/dlls/pdh/pdh_main.c
@@ -1269,3 +1269,21 @@ PDH_STATUS WINAPI PdhSetDefaultRealTimeDataSource( DWORD source )
     FIXME("%u\n", source);
     return ERROR_SUCCESS;
 }
+
+/***********************************************************************
+ *              PdhGetLogFileTypeA   (PDH.@)
+ */
+PDH_STATUS WINAPI PdhGetLogFileTypeA(PDH_HLOG log, DWORD *type)
+{
+    FIXME("%p, %p: stub\n", log, type);
+    return PDH_NOT_IMPLEMENTED;
+}
+
+/***********************************************************************
+ *              PdhGetLogFileTypeW   (PDH.@)
+ */
+PDH_STATUS WINAPI PdhGetLogFileTypeW(PDH_HLOG log, DWORD *type)
+{
+    FIXME("%p, %p: stub\n", log, type);
+    return PDH_NOT_IMPLEMENTED;
+}




More information about the wine-cvs mailing list