mfplat: Read queue subscriber within the critical section.
[wine/zf.git] / dlls / qwave / main.c
blobfceb5c79503d59a9e81006ad461dbbe64f875f0e
1 /*
2 * Copyright 2018 Louis Lenders
3 * Copyright 2019 Vijay Kiran Kamuju
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * 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 "qos2.h"
25 #include "wine/debug.h"
27 WINE_DEFAULT_DEBUG_CHANNEL(qwave);
29 BOOL WINAPI QOSCreateHandle(PQOS_VERSION version, PHANDLE handle)
31 FIXME("%p %p stub!\n", version, handle);
32 if (!version || !((version->MajorVersion == 1) && (version->MinorVersion == 0)) || !handle)
33 SetLastError(ERROR_INVALID_PARAMETER);
34 else
35 SetLastError(ERROR_SERVICE_ALREADY_RUNNING);
36 return FALSE;
39 BOOL WINAPI QOSAddSocketToFlow(HANDLE handle, SOCKET socket, PSOCKADDR addr,
40 QOS_TRAFFIC_TYPE traffictype, DWORD flags, PQOS_FLOWID flowid)
42 FIXME("%p, %lx, %p, %d, 0x%08x, %p stub!\n", handle, socket, addr, traffictype, flags, flowid);
43 SetLastError(ERROR_NOT_SUPPORTED);
44 return FALSE;