ole32: Don't pump all messages in CoWaitForMultipleHandles in threads without apartme...
[wine.git] / dlls / mmdevldr.vxd / mmdevldr.c
blob1396861e88fc8212fba3758eeba6f34c041decf8
1 /*
2 * MMDEVLDR VxD implementation
4 * Copyright 1998 Marcus Meissner
5 * Copyright 1998 Ulrich Weigand
6 * Copyright 1998 Patrik Stridvall
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
23 #include <stdarg.h>
24 #include "windef.h"
25 #include "winbase.h"
26 #include "wine/debug.h"
28 WINE_DEFAULT_DEBUG_CHANNEL(vxd);
31 /***********************************************************************
32 * DeviceIoControl (MMDEVLDR.VXD.@)
34 BOOL WINAPI MMDEVLDR_DeviceIoControl(DWORD dwIoControlCode,
35 LPVOID lpvInBuffer, DWORD cbInBuffer,
36 LPVOID lpvOutBuffer, DWORD cbOutBuffer,
37 LPDWORD lpcbBytesReturned,
38 LPOVERLAPPED lpOverlapped)
40 FIXME("(%d,%p,%d,%p,%d,%p,%p): stub\n",
41 dwIoControlCode,
42 lpvInBuffer,cbInBuffer,
43 lpvOutBuffer,cbOutBuffer,
44 lpcbBytesReturned,
45 lpOverlapped );
47 switch (dwIoControlCode)
49 case 5:
50 /* Hmm. */
51 *(DWORD*)lpvOutBuffer=0;
52 *lpcbBytesReturned=sizeof(DWORD);
53 return TRUE;
54 default:
55 return FALSE;