winejack.drv only supports 16bit sound so we can simplify the sound
[wine] / dlls / dpnhpast / main.c
1 /* DirectPlay NAT Helper Past Main
2  *
3  * Copyright (C) 2003 Rok Mandeljc
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program 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
13  * GNU Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18  */
19
20 #include "config.h"
21 #include <stdarg.h>
22
23 #include "windef.h"
24 #include "winbase.h"
25 #include "wine/debug.h"
26
27 WINE_DEFAULT_DEBUG_CHANNEL(dpnhpast);
28
29 /******************************************************************
30  *              DllMain
31  *
32  *
33  */
34 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
35 {
36         TRACE("(%p, %ld, %p)\n",hinstDLL,fdwReason,lpvReserved);
37
38         if (fdwReason == DLL_PROCESS_ATTACH)
39         {
40             DisableThreadLibraryCalls(hinstDLL);
41                 /* FIXME: Initialisation */
42         }
43         else if (fdwReason == DLL_PROCESS_DETACH)
44         {
45                 /* FIXME: Cleanup */
46         }
47
48         return TRUE;
49 }
50
51
52 /******************************************************************
53  *              DirectPlayNATHelpCreate (DPNHPAST.1)
54  *
55  *
56  */
57 #if 0
58 HRESULT WINAPI DPNHPAST_DirectPlayNATHelpCreate()
59 {
60         /* @stub in .spec */
61 }
62 #endif
63
64
65 /******************************************************************
66  *              DllRegisterServer (DPNHPAST.2)
67  *
68  *
69  */
70 HRESULT WINAPI DPNHPAST_DllRegisterServer(void)
71 {
72         FIXME(":stub\n");
73         return S_OK;
74 }
75
76
77 /******************************************************************
78  *              DllCanUnloadNow (DPNHPAST.3)
79  *
80  *
81  */
82 HRESULT WINAPI DPNHPAST_DllCanUnloadNow(void)
83 {
84         FIXME(":stub\n");
85         return S_OK;
86 }
87
88
89 /******************************************************************
90  *              DllGetClassObject (DPNHPAST.4)
91  *
92  *
93  */
94 HRESULT WINAPI DPNHPAST_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
95 {
96         FIXME(":stub\n");
97         return E_FAIL;
98 }
99
100
101 /******************************************************************
102  *              DllUnregisterServer (DPNHPAST.5)
103  *
104  *
105  */
106 HRESULT WINAPI DPNHPAST_DllUnregisterServer(void)
107 {
108         FIXME(":stub\n");
109         return S_OK;
110 }