mfplat: Read queue subscriber within the critical section.
[wine/zf.git] / dlls / fltlib / fltlib.c
blob5af6bbb13c9f3481fde227222845eb8732ab694f
1 /*
2 * Copyright 2009 Detlef Riekenberg
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #include <stdarg.h>
22 #include "windef.h"
23 #include "winbase.h"
24 #include "wine/debug.h"
26 WINE_DEFAULT_DEBUG_CHANNEL(fltlib);
28 /**********************************************************************
29 * FilterConnectCommunicationPort (FLTLIB.@)
31 HRESULT WINAPI FilterConnectCommunicationPort(LPCWSTR lpPortName, DWORD dwOptions,
32 LPVOID lpContext, DWORD dwSizeOfContext,
33 LPSECURITY_ATTRIBUTES lpSecurityAttributes,
34 HANDLE *hPort)
36 FIXME("(%s, %d, %p, %d, %p, %p) stub\n", debugstr_w(lpPortName), dwOptions,
37 lpContext, dwSizeOfContext, lpSecurityAttributes, hPort);
39 *hPort = INVALID_HANDLE_VALUE;
40 return E_NOTIMPL;
43 /**********************************************************************
44 * FilterFindFirst (FLTLIB.@)
46 HRESULT WINAPI FilterFindFirst(DWORD class, LPVOID buffer, DWORD size, LPDWORD bytes_returned,
47 LPHANDLE handle)
49 FIXME("(%u, %p, %u, %p, %p) stub\n", class, buffer, size, bytes_returned, handle);
50 return HRESULT_FROM_WIN32(ERROR_NO_MORE_ITEMS);
53 /**********************************************************************
54 * FilterFindClose (FLTLIB.@)
56 HRESULT WINAPI FilterFindClose(HANDLE handle)
58 FIXME("(%p) stub\n", handle);
59 return S_OK;
62 /**********************************************************************
63 * FilterLoad (FLTLIB.@)
65 HRESULT WINAPI FilterLoad(LPCWSTR filtername)
67 FIXME("(%s) stub\n", debugstr_w(filtername));
68 return HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED);
71 /**********************************************************************
72 * FilterUnload (FLTLIB.@)
74 HRESULT WINAPI FilterUnload(LPCWSTR filtername)
76 FIXME("(%s) stub\n", debugstr_w(filtername));
78 if (!filtername)
79 return HRESULT_FROM_WIN32(ERROR_INVALID_PARAMETER);
81 return S_OK;