From: Alex Henrie <alexhenrie24(a)gmail.com>
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=56599
---
dlls/pdh/pdh.spec | 2 +-
dlls/pdh/pdh_main.c | 9 +++++++++
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/dlls/pdh/pdh.spec b/dlls/pdh/pdh.spec
index 711c970029b..3d51f6257ef 100644
--- a/dlls/pdh/pdh.spec
+++ b/dlls/pdh/pdh.spec
@@ -18,7 +18,7 @@
@ stdcall PdhCollectQueryDataWithTime(ptr ptr)
@ stdcall PdhCollectQueryDataEx(ptr long ptr)
@ stub PdhComputeCounterStatistics
-@ stub PdhConnectMachineA
+@ stdcall PdhConnectMachineA(str)
@ stub PdhConnectMachineW
@ stub PdhCreateSQLTablesA
@ stub PdhCreateSQLTablesW
diff --git a/dlls/pdh/pdh_main.c b/dlls/pdh/pdh_main.c
index 12bda6bedc0..dec86a9962b 100644
--- a/dlls/pdh/pdh_main.c
+++ b/dlls/pdh/pdh_main.c
@@ -1280,3 +1280,12 @@ PDH_STATUS WINAPI PdhBindInputDataSourceW(PDH_HLOG *source, const
WCHAR *filenam
FIXME("%p %s: stub\n", source, debugstr_w(filenamelist));
return PDH_NOT_IMPLEMENTED;
}
+
+/***********************************************************************
+ * PdhConnectMachineA (PDH.@)
+ */
+PDH_STATUS WINAPI PdhConnectMachineA(const char *name)
+{
+ FIXME("%s: stub\n", debugstr_a(name));
+ return PDH_NOT_IMPLEMENTED;
+}
--
GitLab
https://gitlab.winehq.org/wine/wine/-/merge_requests/5566