2003-04-08 03:56:04 +00:00
|
|
|
/* DirectPlay NAT Helper Past Main
|
|
|
|
*
|
|
|
|
* Copyright (C) 2003 Rok Mandeljc
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "config.h"
|
2003-09-05 23:08:26 +00:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
2003-04-08 03:56:04 +00:00
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
2005-12-07 11:51:39 +00:00
|
|
|
#include "objbase.h"
|
2003-04-08 03:56:04 +00:00
|
|
|
#include "wine/debug.h"
|
|
|
|
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(dpnhpast);
|
|
|
|
|
|
|
|
/******************************************************************
|
|
|
|
* DllMain
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
|
|
|
{
|
|
|
|
TRACE("(%p, %ld, %p)\n",hinstDLL,fdwReason,lpvReserved);
|
|
|
|
|
|
|
|
if (fdwReason == DLL_PROCESS_ATTACH)
|
|
|
|
{
|
2003-06-30 20:53:48 +00:00
|
|
|
DisableThreadLibraryCalls(hinstDLL);
|
2003-04-08 03:56:04 +00:00
|
|
|
/* FIXME: Initialisation */
|
|
|
|
}
|
|
|
|
else if (fdwReason == DLL_PROCESS_DETACH)
|
|
|
|
{
|
|
|
|
/* FIXME: Cleanup */
|
|
|
|
}
|
|
|
|
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/******************************************************************
|
|
|
|
* DirectPlayNATHelpCreate (DPNHPAST.1)
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
#if 0
|
|
|
|
HRESULT WINAPI DPNHPAST_DirectPlayNATHelpCreate()
|
|
|
|
{
|
|
|
|
/* @stub in .spec */
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/******************************************************************
|
2005-08-10 13:02:43 +00:00
|
|
|
* DllRegisterServer (DPNHPAST.@)
|
2003-04-08 03:56:04 +00:00
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
2005-08-08 17:35:28 +00:00
|
|
|
HRESULT WINAPI DllRegisterServer(void)
|
2003-04-08 03:56:04 +00:00
|
|
|
{
|
|
|
|
FIXME(":stub\n");
|
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/******************************************************************
|
2005-08-10 13:02:43 +00:00
|
|
|
* DllCanUnloadNow (DPNHPAST.@)
|
2003-04-08 03:56:04 +00:00
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
2005-08-08 17:35:28 +00:00
|
|
|
HRESULT WINAPI DllCanUnloadNow(void)
|
2003-04-08 03:56:04 +00:00
|
|
|
{
|
|
|
|
FIXME(":stub\n");
|
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/******************************************************************
|
2005-08-10 13:02:43 +00:00
|
|
|
* DllGetClassObject (DPNHPAST.@)
|
2003-04-08 03:56:04 +00:00
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
2005-08-08 17:35:28 +00:00
|
|
|
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
|
2003-04-08 03:56:04 +00:00
|
|
|
{
|
|
|
|
FIXME(":stub\n");
|
2003-05-06 00:15:03 +00:00
|
|
|
return E_FAIL;
|
2003-04-08 03:56:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/******************************************************************
|
2005-08-10 13:02:43 +00:00
|
|
|
* DllUnregisterServer (DPNHPAST.@)
|
2003-04-08 03:56:04 +00:00
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
2005-08-08 17:35:28 +00:00
|
|
|
HRESULT WINAPI DllUnregisterServer(void)
|
2003-04-08 03:56:04 +00:00
|
|
|
{
|
|
|
|
FIXME(":stub\n");
|
|
|
|
return S_OK;
|
|
|
|
}
|