mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[DPNHPAST] Import dpnhpast.dll from Wine (Staging) 4.5
This commit is contained in:
committed by
Robert Naumann
parent
7e18b6d0eb
commit
c8611aea13
@@ -32,6 +32,7 @@ add_subdirectory(dinput8)
|
||||
add_subdirectory(dmusic)
|
||||
add_subdirectory(dplay)
|
||||
add_subdirectory(dplayx)
|
||||
add_subdirectory(dpnhpast)
|
||||
add_subdirectory(dsound)
|
||||
add_subdirectory(dxdiagn)
|
||||
add_subdirectory(msdmo)
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
||||
spec2def(dpnhpast.dll dpnhpast.spec)
|
||||
|
||||
list(APPEND SOURCE
|
||||
main.c
|
||||
${CMAKE_CURRENT_BINARY_DIR}/dpnhpast_stubs.c
|
||||
${CMAKE_CURRENT_BINARY_DIR}/dpnhpast.def)
|
||||
|
||||
add_library(dpnhpast MODULE ${SOURCE} version.rc)
|
||||
set_module_type(dpnhpast win32dll)
|
||||
target_link_libraries(dpnhpast dxguid uuid wine)
|
||||
add_importlibs(dpnhpast msvcrt kernel32 ntdll)
|
||||
add_cd_file(TARGET dpnhpast DESTINATION reactos/system32 FOR all)
|
||||
@@ -0,0 +1,6 @@
|
||||
1 stdcall DirectPlayNATHelpCreate(ptr ptr)
|
||||
|
||||
@ stdcall -private DllCanUnloadNow()
|
||||
@ stdcall -private DllGetClassObject(ptr ptr ptr)
|
||||
@ stdcall -private DllRegisterServer()
|
||||
@ stdcall -private DllUnregisterServer()
|
||||
@@ -0,0 +1,86 @@
|
||||
/* 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 Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 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
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "objbase.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(dpnhpast);
|
||||
|
||||
/******************************************************************
|
||||
* DirectPlayNATHelpCreate (DPNHPAST.1)
|
||||
*
|
||||
*
|
||||
*/
|
||||
HRESULT WINAPI DirectPlayNATHelpCreate(LPCGUID pIID, PVOID *ppvInterface)
|
||||
{
|
||||
TRACE("(%p, %p) stub\n", pIID, ppvInterface);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
|
||||
/******************************************************************
|
||||
* DllRegisterServer (DPNHPAST.@)
|
||||
*
|
||||
*
|
||||
*/
|
||||
HRESULT WINAPI DllRegisterServer(void)
|
||||
{
|
||||
FIXME(":stub\n");
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
/******************************************************************
|
||||
* DllCanUnloadNow (DPNHPAST.@)
|
||||
*
|
||||
*
|
||||
*/
|
||||
HRESULT WINAPI DllCanUnloadNow(void)
|
||||
{
|
||||
return S_FALSE;
|
||||
}
|
||||
|
||||
|
||||
/******************************************************************
|
||||
* DllGetClassObject (DPNHPAST.@)
|
||||
*
|
||||
*
|
||||
*/
|
||||
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
|
||||
{
|
||||
FIXME(":stub\n");
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
||||
/******************************************************************
|
||||
* DllUnregisterServer (DPNHPAST.@)
|
||||
*
|
||||
*
|
||||
*/
|
||||
HRESULT WINAPI DllUnregisterServer(void)
|
||||
{
|
||||
FIXME(":stub\n");
|
||||
return S_OK;
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* Copyright (C) 2003 Rok Mandeljc
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library 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
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#define WINE_FILEDESCRIPTION_STR "Wine DirectPlay NAT Helper PAST"
|
||||
#define WINE_FILENAME_STR "dpnhpast.dll"
|
||||
#define WINE_FILEVERSION 5,3,0,901
|
||||
#define WINE_FILEVERSION_STR "5.3.0.901"
|
||||
#define WINE_PRODUCTVERSION 5,3,0,901
|
||||
#define WINE_PRODUCTVERSION_STR "5.3"
|
||||
|
||||
#include "wine/wine_common_ver.rc"
|
||||
@@ -35,6 +35,7 @@ reactos/dll/directx/wine/dinput8 # Synced to WineStaging-3.3
|
||||
reactos/dll/directx/wine/dmusic # Synced to WineStaging-4.0
|
||||
reactos/dll/directx/wine/dplay # Synced to WineStaging-3.3
|
||||
reactos/dll/directx/wine/dplayx # Synced to WineStaging-3.17
|
||||
reactos/dll/directx/wine/dpnhpast # Synced to WineStaging-4.5
|
||||
reactos/dll/directx/wine/dsound # Synced to Wine-1.3.29
|
||||
reactos/dll/directx/wine/dxdiagn # Synced to WineStaging-3.3
|
||||
reactos/dll/directx/wine/msdmo # Synced to WineStaging-3.17
|
||||
|
||||
Reference in New Issue
Block a user