widl: Issue an error if a context handle variable is declared outside of a function.
[wine/hacks.git] / dlls / winequartz.drv / quartzdrv_main.c
blob88bc6ac32842ef7dfa2115ce242b0ca364e61c1c
1 /*
2 * QUARTZDRV initialization code
4 * Copyright 1998 Patrik Stridvall
5 * Copyright 2000 Alexandre Julliard
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include "config.h"
23 #include <stdarg.h>
25 #include "windef.h"
26 #include "winbase.h"
27 #include "winreg.h"
29 /***********************************************************************
30 * QUARTZDRV initialisation routine
32 BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
34 BOOL ret = TRUE;
36 switch(reason)
38 case DLL_PROCESS_ATTACH:
39 /* Do attach */
40 break;
41 case DLL_THREAD_DETACH:
42 /* do thread detach */
43 break;
44 case DLL_PROCESS_DETACH:
45 /* do detach */
46 break;
48 return ret;