Sebastian Lackner : pdh: Fix prototype of PdhGetLogFileType[A/W].

Alexandre Julliard julliard at wine.codeweavers.com
Fri Dec 25 11:19:21 CST 2015


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

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Thu Dec 24 23:08:08 2015 +0100

pdh: Fix prototype of PdhGetLogFileType[A/W].

Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/pdh/pdh.spec   | 4 ++--
 dlls/pdh/pdh_main.c | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/pdh/pdh.spec b/dlls/pdh/pdh.spec
index 529b92d..41900c8 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
-@ stdcall PdhGetLogFileTypeA(ptr ptr)
-@ stdcall PdhGetLogFileTypeW(ptr ptr)
+@ stdcall PdhGetLogFileTypeA(str ptr)
+@ stdcall PdhGetLogFileTypeW(wstr ptr)
 @ stub PdhGetLogSetGUID
 @ stub PdhGetRawCounterArrayA
 @ stub PdhGetRawCounterArrayW
diff --git a/dlls/pdh/pdh_main.c b/dlls/pdh/pdh_main.c
index 036d28b..8854fd7 100644
--- a/dlls/pdh/pdh_main.c
+++ b/dlls/pdh/pdh_main.c
@@ -1273,17 +1273,17 @@ PDH_STATUS WINAPI PdhSetDefaultRealTimeDataSource( DWORD source )
 /***********************************************************************
  *              PdhGetLogFileTypeA   (PDH.@)
  */
-PDH_STATUS WINAPI PdhGetLogFileTypeA(PDH_HLOG log, DWORD *type)
+PDH_STATUS WINAPI PdhGetLogFileTypeA(const char *log, DWORD *type)
 {
-    FIXME("%p, %p: stub\n", log, type);
+    FIXME("%s, %p: stub\n", debugstr_a(log), type);
     return PDH_NOT_IMPLEMENTED;
 }
 
 /***********************************************************************
  *              PdhGetLogFileTypeW   (PDH.@)
  */
-PDH_STATUS WINAPI PdhGetLogFileTypeW(PDH_HLOG log, DWORD *type)
+PDH_STATUS WINAPI PdhGetLogFileTypeW(const WCHAR *log, DWORD *type)
 {
-    FIXME("%p, %p: stub\n", log, type);
+    FIXME("%s, %p: stub\n", debugstr_w(log), type);
     return PDH_NOT_IMPLEMENTED;
 }




More information about the wine-cvs mailing list