pdh: Add PdhBindInputDataSourceA/W stubs.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Austin English 2015-12-26 22:44:02 -06:00 committed by Alexandre Julliard
parent 6a9b4d1667
commit de71271347
3 changed files with 23 additions and 2 deletions

View File

@ -5,8 +5,8 @@
@ stdcall PdhAddCounterW(ptr wstr long ptr)
@ stdcall PdhAddEnglishCounterA(ptr str long ptr)
@ stdcall PdhAddEnglishCounterW(ptr wstr long ptr)
@ stub PdhBindInputDataSourceA
@ stub PdhBindInputDataSourceW
@ stdcall PdhBindInputDataSourceA(ptr str)
@ stdcall PdhBindInputDataSourceW(ptr wstr)
@ stub PdhBrowseCountersA
@ stub PdhBrowseCountersHA
@ stub PdhBrowseCountersHW

View File

@ -1287,3 +1287,21 @@ PDH_STATUS WINAPI PdhGetLogFileTypeW(const WCHAR *log, DWORD *type)
FIXME("%s, %p: stub\n", debugstr_w(log), type);
return PDH_NOT_IMPLEMENTED;
}
/***********************************************************************
* PdhBindInputDataSourceA (PDH.@)
*/
PDH_STATUS WINAPI PdhBindInputDataSourceA(PDH_HLOG *source, const char *filenamelist)
{
FIXME("%p %s: stub\n", source, debugstr_a(filenamelist));
return PDH_NOT_IMPLEMENTED;
}
/***********************************************************************
* PdhBindInputDataSourceW (PDH.@)
*/
PDH_STATUS WINAPI PdhBindInputDataSourceW(PDH_HLOG *source, const WCHAR *filenamelist)
{
FIXME("%p %s: stub\n", source, debugstr_w(filenamelist));
return PDH_NOT_IMPLEMENTED;
}

View File

@ -200,6 +200,9 @@ PDH_STATUS WINAPI PdhAddCounterW(PDH_HQUERY, LPCWSTR, DWORD_PTR, PDH_HCOUNTER *)
PDH_STATUS WINAPI PdhAddEnglishCounterA(PDH_HQUERY, LPCSTR, DWORD_PTR, PDH_HCOUNTER *);
PDH_STATUS WINAPI PdhAddEnglishCounterW(PDH_HQUERY, LPCWSTR, DWORD_PTR, PDH_HCOUNTER *);
#define PdhAddEnglishCounter WINELIB_NAME_AW(PdhAddEnglishCounter)
PDH_STATUS WINAPI PdhBindInputDataSourceA(PDH_HLOG *, const char *);
PDH_STATUS WINAPI PdhBindInputDataSourceW(PDH_HLOG *, const WCHAR *);
#define PdhBindInputDataSource WINELIB_NAME_AW(PdhBindInputDataSource)
PDH_STATUS WINAPI PdhCloseQuery(PDH_HQUERY);
PDH_STATUS WINAPI PdhCollectQueryData(PDH_HQUERY);
PDH_STATUS WINAPI PdhCollectQueryDataEx(PDH_HQUERY, DWORD, HANDLE);