[WMVCORE] Sync with Wine Staging 3.3. CORE-14434

This commit is contained in:
Amine Khaldi 2018-03-24 13:22:32 +01:00
parent f6c122569e
commit 6b5e74cbab
6 changed files with 30 additions and 12 deletions

View file

@ -9,7 +9,7 @@ list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/wmvcore_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/wmvcore.def)
add_library(wmvcore SHARED ${SOURCE})
add_library(wmvcore SHARED ${SOURCE} version.rc)
set_module_type(wmvcore win32dll)
target_link_libraries(wmvcore wine)
add_importlibs(wmvcore msvcrt kernel32 ntdll)

View file

@ -0,0 +1,26 @@
/*
* Copyright 2017 Louis Lenders
*
* 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 Media Playback dll"
#define WINE_FILENAME_STR "wmvcore.dll"
#define WINE_FILEVERSION 12,0,7601,17514
#define WINE_FILEVERSION_STR "12.0.7601.17514"
#define WINE_PRODUCTVERSION 12,0,7601,17514
#define WINE_PRODUCTVERSION_STR "12.0.7601.17514"
#include "wine/wine_common_ver.rc"

View file

@ -24,13 +24,3 @@
#include "windef.h"
#include "winbase.h"
static inline void* __WINE_ALLOC_SIZE(1) heap_alloc(size_t size)
{
return HeapAlloc(GetProcessHeap(), 0, size);
}
static inline BOOL heap_free(void *mem)
{
return HeapFree(GetProcessHeap(), 0, mem);
}

View file

@ -21,6 +21,7 @@
#include "initguid.h"
#include "wmsdk.h"
#include "wine/debug.h"
#include "wine/heap.h"
WINE_DEFAULT_DEBUG_CHANNEL(wmvcore);

View file

@ -20,6 +20,7 @@
#include "wmsdkidl.h"
#include "wine/debug.h"
#include "wine/heap.h"
WINE_DEFAULT_DEBUG_CHANNEL(wmvcore);

View file

@ -210,7 +210,7 @@ reactos/dll/win32/wintrust # Synced to WineStaging-3.3
reactos/dll/win32/wldap32 # Synced to WineStaging-3.3
reactos/dll/win32/wmi # Synced to WineStaging-2.9
reactos/dll/win32/wmiutils # Synced to WineStaging-3.3
reactos/dll/win32/wmvcore # Synced to Wine-3.0
reactos/dll/win32/wmvcore # Synced to WineStaging-3.3
reactos/dll/win32/wshom.ocx # Synced to Wine-3.0
reactos/dll/win32/wtsapi32 # Synced to Wine-3.0
reactos/dll/win32/wuapi # Synced to WineStaging-2.9