push 297972334720102b8c295c34d3cd5b0b9aafc558
[wine/hacks.git] / dlls / mciqtz32 / mciqtz.c
blob6d272b58b6dc73cd6837296a9e9dd84f3a05d8cc
1 /*
2 * DirectShow MCI Driver
4 * Copyright 2009 Christian Costa
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include <stdarg.h>
22 #include "windef.h"
23 #include "winbase.h"
24 #include "mmddk.h"
25 #include "wine/debug.h"
27 WINE_DEFAULT_DEBUG_CHANNEL(mciqtz);
29 /*======================================================================*
30 * MCI QTZ implementation *
31 *======================================================================*/
33 HINSTANCE MCIQTZ_hInstance = 0;
35 /***********************************************************************
36 * DllMain (MCIQTZ.0)
38 BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID fImpLoad)
40 switch (fdwReason) {
41 case DLL_PROCESS_ATTACH:
42 DisableThreadLibraryCalls(hInstDLL);
43 MCIQTZ_hInstance = hInstDLL;
44 break;
46 return TRUE;
49 /*======================================================================*
50 * MCI QTZ entry points *
51 *======================================================================*/
53 /**************************************************************************
54 * DriverProc (MCIQTZ.@)
56 LRESULT CALLBACK MCIQTZ_DriverProc(DWORD_PTR dwDevID, HDRVR hDriv, UINT wMsg,
57 LPARAM dwParam1, LPARAM dwParam2)
59 FIXME("(%08lX, %p, %08X, %08lX, %08lX): Stub!\n",
60 dwDevID, hDriv, wMsg, dwParam1, dwParam2);
62 return MCIERR_UNRECOGNIZED_COMMAND;