pdh: Add PdhVbAddCounter stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44109
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrey Gusev 2018-11-13 18:41:49 +02:00 committed by Alexandre Julliard
parent 4efdb26044
commit fe8ed8af8d
2 changed files with 13 additions and 1 deletions

View File

@ -141,7 +141,7 @@
@ stdcall PdhValidatePathExA(ptr str)
@ stdcall PdhValidatePathExW(ptr wstr)
@ stdcall PdhValidatePathW(wstr)
@ stub PdhVbAddCounter
@ stdcall PdhVbAddCounter(ptr str ptr)
@ stub PdhVbCreateCounterPathList
@ stub PdhVbGetCounterPathElements
@ stub PdhVbGetCounterPathFromList

View File

@ -1083,6 +1083,18 @@ PDH_STATUS WINAPI PdhValidatePathW( LPCWSTR path )
return PDH_CSTATUS_NO_COUNTER;
}
/***********************************************************************
* PdhVbAddCounter (PDH.@)
*/
PDH_STATUS WINAPI PdhVbAddCounter( PDH_HQUERY query, LPCSTR path, PDH_HCOUNTER *counter )
{
FIXME("%p, %s, %p: stub!\n", query, debugstr_a(path), counter);
if (!path) return PDH_INVALID_ARGUMENT;
return PDH_NOT_IMPLEMENTED;
}
/***********************************************************************
* PdhValidatePathExA (PDH.@)
*/