fltlib: Add stub for FilterLoad.

This commit is contained in:
Michael Müller 2015-06-25 08:17:11 +02:00 committed by Alexandre Julliard
parent c908c9c7c9
commit ca0973486a
2 changed files with 13 additions and 4 deletions

View File

@ -78,14 +78,23 @@ HRESULT WINAPI FilterFindClose(HANDLE handle)
return S_OK; return S_OK;
} }
/**********************************************************************
* FilterLoad (FLTLIB.@)
*/
HRESULT WINAPI FilterLoad(LPCWSTR filtername)
{
FIXME("(%s) stub\n", debugstr_w(filtername));
return HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED);
}
/********************************************************************** /**********************************************************************
* FilterUnload (FLTLIB.@) * FilterUnload (FLTLIB.@)
*/ */
HRESULT WINAPI FilterUnload(LPCWSTR lpFilterName) HRESULT WINAPI FilterUnload(LPCWSTR filtername)
{ {
FIXME("(%s) stub\n", debugstr_w(lpFilterName)); FIXME("(%s) stub\n", debugstr_w(filtername));
if (!lpFilterName) if (!filtername)
return HRESULT_FROM_WIN32(ERROR_INVALID_PARAMETER); return HRESULT_FROM_WIN32(ERROR_INVALID_PARAMETER);
return S_OK; return S_OK;

View File

@ -16,7 +16,7 @@
@ stub FilterInstanceFindFirst @ stub FilterInstanceFindFirst
@ stub FilterInstanceFindNext @ stub FilterInstanceFindNext
@ stub FilterInstanceGetInformation @ stub FilterInstanceGetInformation
@ stub FilterLoad @ stdcall FilterLoad(wstr)
@ stub FilterReplyMessage @ stub FilterReplyMessage
@ stub FilterSendMessage @ stub FilterSendMessage
@ stdcall FilterUnload(wstr) @ stdcall FilterUnload(wstr)