Guillaume Charifi : pdh: Implement PdhExpandCounterPathA/W.
Alexandre Julliard
julliard at winehq.org
Thu Jun 12 15:51:44 CDT 2014
Module: wine
Branch: master
Commit: f823b6abe3265f0ed45796f6064a66fde453cb5e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f823b6abe3265f0ed45796f6064a66fde453cb5e
Author: Guillaume Charifi <guillaume.charifi at sfr.fr>
Date: Wed Jun 4 19:00:50 2014 +0200
pdh: Implement PdhExpandCounterPathA/W.
---
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 b475d53..fc1aa4f 100644
--- a/dlls/pdh/pdh.spec
+++ b/dlls/pdh/pdh.spec
@@ -36,8 +36,8 @@
@ stub PdhEnumObjectsHA
@ stub PdhEnumObjectsHW
@ stub PdhEnumObjectsW
-@ stub PdhExpandCounterPathA
-@ stub PdhExpandCounterPathW
+@ stdcall PdhExpandCounterPathA(str ptr ptr)
+@ stdcall PdhExpandCounterPathW(wstr ptr ptr)
@ stdcall PdhExpandWildCardPathA(str str ptr ptr long)
@ stub PdhExpandWildCardPathHA
@ stub PdhExpandWildCardPathHW
diff --git a/dlls/pdh/pdh_main.c b/dlls/pdh/pdh_main.c
index 25bd858..f197095 100644
--- a/dlls/pdh/pdh_main.c
+++ b/dlls/pdh/pdh_main.c
@@ -636,6 +636,24 @@ PDH_STATUS WINAPI PdhExpandWildCardPathW( LPCWSTR szDataSource, LPCWSTR szWildCa
}
/***********************************************************************
+ * PdhExpandCounterPathA (PDH.@)
+ */
+PDH_STATUS WINAPI PdhExpandCounterPathA( LPCSTR szWildCardPath, LPSTR mszExpandedPathList, LPDWORD pcchPathListLength )
+{
+ FIXME("%s, %p, %p: stub\n", debugstr_a(szWildCardPath), mszExpandedPathList, pcchPathListLength);
+ return PdhExpandWildCardPathA(NULL, szWildCardPath, mszExpandedPathList, pcchPathListLength, 0);
+}
+
+/***********************************************************************
+ * PdhExpandCounterPathW (PDH.@)
+ */
+PDH_STATUS WINAPI PdhExpandCounterPathW( LPCWSTR szWildCardPath, LPWSTR mszExpandedPathList, LPDWORD pcchPathListLength )
+{
+ FIXME("%s, %p, %p: stub\n", debugstr_w(szWildCardPath), mszExpandedPathList, pcchPathListLength);
+ return PdhExpandWildCardPathW(NULL, szWildCardPath, mszExpandedPathList, pcchPathListLength, 0);
+}
+
+/***********************************************************************
* PdhGetCounterInfoA (PDH.@)
*/
PDH_STATUS WINAPI PdhGetCounterInfoA( PDH_HCOUNTER handle, BOOLEAN text, LPDWORD size, PPDH_COUNTER_INFO_A info )
More information about the wine-cvs
mailing list