From: Andrey Gusev Subject: [PATCH] pdh: Add PdhVbAddCounter stub. Message-Id: <20180208114542.17228-1-andrey.goosev@gmail.com> Date: Thu, 8 Feb 2018 13:45:42 +0200 Signed-off-by: Andrey Gusev --- dlls/pdh/pdh.spec | 2 +- dlls/pdh/pdh_main.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/dlls/pdh/pdh.spec b/dlls/pdh/pdh.spec index 72e6fa39f0..4f5d603db1 100644 --- a/dlls/pdh/pdh.spec +++ b/dlls/pdh/pdh.spec @@ -141,7 +141,7 @@ @ stdcall PdhValidatePathExA(ptr str) @ stdcall PdhValidatePathExW(ptr wstr) @ stdcall PdhValidatePathW(wstr) -@ stub PdhVbAddCounter +@ stdcall PdhVbAddCounter(long str long) @ stub PdhVbCreateCounterPathList @ stub PdhVbGetCounterPathElements @ stub PdhVbGetCounterPathFromList diff --git a/dlls/pdh/pdh_main.c b/dlls/pdh/pdh_main.c index fb131bd354..c7cdac680f 100644 --- a/dlls/pdh/pdh_main.c +++ b/dlls/pdh/pdh_main.c @@ -1114,6 +1114,16 @@ PDH_STATUS WINAPI PdhValidatePathExW( PDH_HLOG source, LPCWSTR path ) } /*********************************************************************** + * PdhVbAddCounter (PDH.@) + */ +PDH_STATUS WINAPI PdhVbAddCounter(LONG query, LPCSTR path, LONG counter) +{ + FIXME("%d, %s, %d: stub!\n", query, path, counter); + + return PDH_NOT_IMPLEMENTED; +} + +/*********************************************************************** * PdhMakeCounterPathA (PDH.@) */ PDH_STATUS WINAPI PdhMakeCounterPathA( PDH_COUNTER_PATH_ELEMENTS_A *e, LPSTR buffer, -- 2.13.6