shcore: Add stub for CreateRandomAccessStreamOverStream.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55867
This commit is contained in:
parent
de01c2cfb6
commit
9a80befba3
4 changed files with 44 additions and 1 deletions
|
@ -29,6 +29,7 @@
|
|||
#include "ocidl.h"
|
||||
#include "featurestagingapi.h"
|
||||
#include "shellscalingapi.h"
|
||||
#include "shcore.h"
|
||||
#define WINSHLWAPI
|
||||
#include "shlwapi.h"
|
||||
|
||||
|
@ -2529,3 +2530,12 @@ HRESULT WINAPI RegisterScaleChangeEvent(HANDLE handle, DWORD_PTR *cookie)
|
|||
FIXME("(%p, %p) stub\n", handle, cookie);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
* CreateRandomAccessStreamOverStream [SHCORE.@]
|
||||
*/
|
||||
HRESULT WINAPI CreateRandomAccessStreamOverStream(IStream *stream, BSOS_OPTIONS options, REFIID riid, void **ppv)
|
||||
{
|
||||
FIXME("(%p, %d, %s, %p) stub\n", stream, options, debugstr_guid(riid), ppv);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
1 stub -noname SHCreateReadOnlySharedMemoryStream
|
||||
@ stdcall CommandLineToArgvW(wstr ptr)
|
||||
@ stub CreateRandomAccessStreamOnFile
|
||||
@ stub CreateRandomAccessStreamOverStream
|
||||
@ stdcall CreateRandomAccessStreamOverStream(ptr long ptr ptr)
|
||||
@ stub CreateStreamOverRandomAccessStream
|
||||
@ stdcall -private DllCanUnloadNow()
|
||||
@ stub DllGetActivationFactory
|
||||
|
|
|
@ -695,6 +695,7 @@ SOURCES = \
|
|||
sesprp.idl \
|
||||
setupapi.h \
|
||||
sfc.h \
|
||||
shcore.h \
|
||||
shdeprecated.idl \
|
||||
shdispid.h \
|
||||
shellapi.h \
|
||||
|
|
32
include/shcore.h
Normal file
32
include/shcore.h
Normal file
|
@ -0,0 +1,32 @@
|
|||
/*
|
||||
* Copyright 2023 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
|
||||
*/
|
||||
|
||||
#ifndef SHCORE_H
|
||||
#define SHCORE_H
|
||||
|
||||
#include <objidl.h>
|
||||
|
||||
typedef enum BSOS_OPTIONS
|
||||
{
|
||||
BSOS_DEFAULT,
|
||||
BSOS_PREFERDESTINATIONSTREAM
|
||||
} BSOS_OPTIONS;
|
||||
|
||||
HRESULT WINAPI CreateRandomAccessStreamOverStream(IStream *stream, BSOS_OPTIONS options, REFIID riid, void **ppv);
|
||||
|
||||
#endif
|
Loading…
Add table
Reference in a new issue