Added version information.
[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 "windef.h"
22 #include "winbase.h"
23 #include "wine/debug.h"
24
25 WINE_DEFAULT_DEBUG_CHANNEL(dpnhpast);
26
27 /******************************************************************
28  *              DllMain
29  *
30  *
31  */
32 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
33 {
34         TRACE("(%p, %ld, %p)\n",hinstDLL,fdwReason,lpvReserved);
35
36         if (fdwReason == DLL_PROCESS_ATTACH)
37         {
38                 /* FIXME: Initialisation */
39         }
40         else if (fdwReason == DLL_PROCESS_DETACH)
41         {
42                 /* FIXME: Cleanup */
43         }
44
45         return TRUE;
46 }
47
48
49 /******************************************************************
50  *              DirectPlayNATHelpCreate (DPNHPAST.1)
51  *
52  *
53  */
54 #if 0
55 HRESULT WINAPI DPNHPAST_DirectPlayNATHelpCreate()
56 {
57         /* @stub in .spec */
58 }
59 #endif
60
61
62 /******************************************************************
63  *              DllRegisterServer (DPNHPAST.2)
64  *
65  *
66  */
67 HRESULT WINAPI DPNHPAST_DllRegisterServer(void)
68 {
69         FIXME(":stub\n");
70         return S_OK;
71 }
72
73
74 /******************************************************************
75  *              DllCanUnloadNow (DPNHPAST.3)
76  *
77  *
78  */
79 HRESULT WINAPI DPNHPAST_DllCanUnloadNow(void)
80 {
81         FIXME(":stub\n");
82         return S_OK;
83 }
84
85
86 /******************************************************************
87  *              DllGetClassObject (DPNHPAST.4)
88  *
89  *
90  */
91 HRESULT WINAPI DPNHPAST_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID FAR)
92 {
93         FIXME(":stub\n");
94         return E_FAIL;
95 }
96
97
98 /******************************************************************
99  *              DllUnregisterServer (DPNHPAST.5)
100  *
101  *
102  */
103 HRESULT WINAPI DPNHPAST_DllUnregisterServer(void)
104 {
105         FIXME(":stub\n");
106         return S_OK;
107 }