1 /* DirectPlay NAT Helper Past Main
3 * Copyright (C) 2003 Rok Mandeljc
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.
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.
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
26 #include "wine/debug.h"
28 WINE_DEFAULT_DEBUG_CHANNEL(dpnhpast);
30 /******************************************************************
35 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
37 TRACE("(%p, %d, %p)\n",hinstDLL,fdwReason,lpvReserved);
39 if (fdwReason == DLL_PROCESS_ATTACH)
41 DisableThreadLibraryCalls(hinstDLL);
42 /* FIXME: Initialisation */
44 else if (fdwReason == DLL_PROCESS_DETACH)
53 /******************************************************************
54 * DirectPlayNATHelpCreate (DPNHPAST.1)
59 HRESULT WINAPI DPNHPAST_DirectPlayNATHelpCreate()
66 /******************************************************************
67 * DllRegisterServer (DPNHPAST.@)
71 HRESULT WINAPI DllRegisterServer(void)
78 /******************************************************************
79 * DllCanUnloadNow (DPNHPAST.@)
83 HRESULT WINAPI DllCanUnloadNow(void)
90 /******************************************************************
91 * DllGetClassObject (DPNHPAST.@)
95 HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
102 /******************************************************************
103 * DllUnregisterServer (DPNHPAST.@)
107 HRESULT WINAPI DllUnregisterServer(void)