Commit 9a80befb authored by Louis Lenders's avatar Louis Lenders Committed by Alexandre Julliard

shcore: Add stub for CreateRandomAccessStreamOverStream.

parent de01c2cf
......@@ -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 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 \
......
/*
* 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment