conhost: Use more standard hide cursor sequence.
[wine.git] / dlls / qwave / main.c
blobe256d1b8c6e3847fb2e7d37b59c2edda3ea9d7fc
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 DllMain(HINSTANCE hInstDLL, DWORD reason, LPVOID lpv)
31 TRACE("(%p, %d, %p)\n", hInstDLL, reason, lpv);
33 switch (reason)
35 case DLL_WINE_PREATTACH:
36 return FALSE; /* prefer native version */
37 case DLL_PROCESS_ATTACH:
38 DisableThreadLibraryCalls(hInstDLL);
39 break;
41 return TRUE;
44 BOOL WINAPI QOSCreateHandle(PQOS_VERSION version, PHANDLE handle)
46 FIXME("%p %p stub!\n", version, handle);
47 if (!version || !((version->MajorVersion == 1) && (version->MinorVersion == 0)) || !handle)
48 SetLastError(ERROR_INVALID_PARAMETER);
49 else
50 SetLastError(ERROR_SERVICE_ALREADY_RUNNING);
51 return FALSE;
54 BOOL WINAPI QOSAddSocketToFlow(HANDLE handle, SOCKET socket, PSOCKADDR addr,
55 QOS_TRAFFIC_TYPE traffictype, DWORD flags, PQOS_FLOWID flowid)
57 FIXME("%p, %lx, %p, %d, 0x%08x, %p stub!\n", handle, socket, addr, traffictype, flags, flowid);
58 SetLastError(ERROR_NOT_SUPPORTED);
59 return FALSE;