Module: wine Branch: master Commit: 30019a5b8759c2d56ac82fe7454bda09cca77b63 URL: https://gitlab.winehq.org/wine/wine/-/commit/30019a5b8759c2d56ac82fe7454bda0...
Author: Alex Henrie alexhenrie24@gmail.com Date: Wed May 1 21:40:18 2024 -0600
pdh: Add PdhConnectMachineA stub.
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; +}