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