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
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (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 GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, 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, %d, %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 HRESULT WINAPI DirectPlayNATHelpCreate(LPCGUID pIID, PVOID *ppvInterface)
59 {
60 TRACE("(%p, %p) stub\n", pIID, ppvInterface);
61 return E_NOTIMPL;
62 }
63
64
65 /******************************************************************
66 * DllRegisterServer (DPNHPAST.@)
67 *
68 *
69 */
70 HRESULT WINAPI DllRegisterServer(void)
71 {
72 FIXME(":stub\n");
73 return S_OK;
74 }
75
76
77 /******************************************************************
78 * DllCanUnloadNow (DPNHPAST.@)
79 *
80 *
81 */
82 HRESULT WINAPI DllCanUnloadNow(void)
83 {
84 return S_OK;
85 }
86
87
88 /******************************************************************
89 * DllGetClassObject (DPNHPAST.@)
90 *
91 *
92 */
93 HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
94 {
95 FIXME(":stub\n");
96 return E_FAIL;
97 }
98
99
100 /******************************************************************
101 * DllUnregisterServer (DPNHPAST.@)
102 *
103 *
104 */
105 HRESULT WINAPI DllUnregisterServer(void)
106 {
107 FIXME(":stub\n");
108 return S_OK;
109 }
110
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.