Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9a80befb
Commit
9a80befb
authored
Nov 30, 2023
by
Louis Lenders
Committed by
Alexandre Julliard
Nov 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shcore: Add stub for CreateRandomAccessStreamOverStream.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=55867
parent
de01c2cf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
1 deletion
+44
-1
main.c
dlls/shcore/main.c
+10
-0
shcore.spec
dlls/shcore/shcore.spec
+1
-1
Makefile.in
include/Makefile.in
+1
-0
shcore.h
include/shcore.h
+32
-0
No files found.
dlls/shcore/main.c
View file @
9a80befb
...
...
@@ -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
;
}
dlls/shcore/shcore.spec
View file @
9a80befb
1 stub -noname SHCreateReadOnlySharedMemoryStream
@ stdcall CommandLineToArgvW(wstr ptr)
@ stub CreateRandomAccessStreamOnFile
@ st
ub CreateRandomAccessStreamOverStream
@ st
dcall CreateRandomAccessStreamOverStream(ptr long ptr ptr)
@ stub CreateStreamOverRandomAccessStream
@ stdcall -private DllCanUnloadNow()
@ stub DllGetActivationFactory
...
...
include/Makefile.in
View file @
9a80befb
...
...
@@ -695,6 +695,7 @@ SOURCES = \
sesprp.idl
\
setupapi.h
\
sfc.h
\
shcore.h
\
shdeprecated.idl
\
shdispid.h
\
shellapi.h
\
...
...
include/shcore.h
0 → 100644
View file @
9a80befb
/*
* 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment