Austin English : pdh: Add PdhGetLogFileTypeA/W stubs.
Alexandre Julliard
julliard at winehq.org
Fri Oct 7 15:09:15 CDT 2016
Module: wine
Branch: stable
Commit: 01f3fa7fd1e87fe88073c4c599431564a35ac8ea
URL: http://source.winehq.org/git/wine.git/?a=commit;h=01f3fa7fd1e87fe88073c4c599431564a35ac8ea
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>
(cherry picked from commit a0e2a3f20a472a642ad85111ad06eb5436a28146)
Signed-off-by: Michael Stefaniuc <mstefani 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