[WMVCORE] Sync with Wine Staging 2.2. CORE-12823

c4f829c wmvcore: Add a __WINE_ALLOC_SIZE attribute to heap_alloc().
7b70eba wmvcore: Implement WMCreateReaderPriv.

svn path=/trunk/; revision=73984
This commit is contained in:
Amine Khaldi 2017-02-26 20:30:36 +00:00
parent c718e06314
commit 70855a91fa
4 changed files with 9 additions and 4 deletions

View file

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

View file

@ -10,7 +10,7 @@
@ stub WMCreateIndexer
@ stdcall WMCreateProfileManager(ptr)
@ stdcall WMCreateReader(ptr long ptr)
@ stub WMCreateReaderPriv
@ stdcall WMCreateReaderPriv(ptr)
@ stdcall WMCreateSyncReader(ptr long ptr)
@ stdcall WMCreateWriter(ptr ptr)
@ stub WMCreateWriterFileSink

View file

@ -667,6 +667,11 @@ HRESULT WINAPI WMCreateReader(IUnknown *reserved, DWORD rights, IWMReader **ret_
return S_OK;
}
HRESULT WINAPI WMCreateReaderPriv(IWMReader **ret_reader)
{
return WMCreateReader(NULL, 0, ret_reader);
}
HRESULT WINAPI WMCreateSyncReader(IUnknown *pcert, DWORD rights, IWMSyncReader **syncreader)
{
FIXME("(%p, %x, %p): stub\n", pcert, rights, syncreader);

View file

@ -210,7 +210,7 @@ reactos/dll/win32/wintrust # Synced to WineStaging-1.9.23
reactos/dll/win32/wldap32 # Synced to WineStaging-2.2
reactos/dll/win32/wmi # Synced to WineStaging-1.9.11
reactos/dll/win32/wmiutils # Synced to WineStaging-1.9.11
reactos/dll/win32/wmvcore # Synced to WineStaging-1.9.11
reactos/dll/win32/wmvcore # Synced to WineStaging-2.2
reactos/dll/win32/wshom.ocx # Synced to WineStaging-1.9.11
reactos/dll/win32/wtsapi32 # Synced to WineStaging-1.9.11
reactos/dll/win32/wuapi # Synced to WineStaging-1.9.11