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
8e48d7fd
Commit
8e48d7fd
authored
Dec 03, 2023
by
Fabian Maurer
Committed by
Alexandre Julliard
Dec 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coml2: Move StgCreatePropSetStg from ole32.
parent
e5df1b2e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
14 deletions
+13
-14
coml2.spec
dlls/coml2/coml2.spec
+1
-1
storage32.c
dlls/coml2/storage32.c
+12
-0
storage32.c
dlls/ole32/storage32.c
+0
-13
No files found.
dlls/coml2/coml2.spec
View file @
8e48d7fd
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
@ stdcall ReadClassStm(ptr ptr)
@ stdcall ReadClassStm(ptr ptr)
@ stub StgCreateDocfile
@ stub StgCreateDocfile
@ stub StgCreateDocfileOnILockBytes
@ stub StgCreateDocfileOnILockBytes
@ st
ub StgCreatePropSetStg
@ st
dcall StgCreatePropSetStg(ptr long ptr)
@ stub StgCreatePropStg
@ stub StgCreatePropStg
@ stub StgCreateStorageEx
@ stub StgCreateStorageEx
@ stdcall StgIsStorageFile(wstr)
@ stdcall StgIsStorageFile(wstr)
...
...
dlls/coml2/storage32.c
View file @
8e48d7fd
...
@@ -226,3 +226,15 @@ HRESULT WINAPI StgIsStorageFile(LPCOLESTR fn)
...
@@ -226,3 +226,15 @@ HRESULT WINAPI StgIsStorageFile(LPCOLESTR fn)
TRACE
(
" -> Invalid header.
\n
"
);
TRACE
(
" -> Invalid header.
\n
"
);
return
S_FALSE
;
return
S_FALSE
;
}
}
/******************************************************************************
* StgCreatePropSetStg [coml2.@]
*/
HRESULT
WINAPI
StgCreatePropSetStg
(
IStorage
*
pstg
,
DWORD
reserved
,
IPropertySetStorage
**
propset
)
{
TRACE
(
"%p, %#lx, %p.
\n
"
,
pstg
,
reserved
,
propset
);
if
(
reserved
)
return
STG_E_INVALIDPARAMETER
;
return
IStorage_QueryInterface
(
pstg
,
&
IID_IPropertySetStorage
,
(
void
**
)
propset
);
}
dlls/ole32/storage32.c
View file @
8e48d7fd
...
@@ -8650,19 +8650,6 @@ HRESULT WINAPI StgCreateStorageEx(const WCHAR* pwcsName, DWORD grfMode, DWORD st
...
@@ -8650,19 +8650,6 @@ HRESULT WINAPI StgCreateStorageEx(const WCHAR* pwcsName, DWORD grfMode, DWORD st
}
}
/******************************************************************************
/******************************************************************************
* StgCreatePropSetStg [OLE32.@]
*/
HRESULT
WINAPI
StgCreatePropSetStg
(
IStorage
*
pstg
,
DWORD
reserved
,
IPropertySetStorage
**
propset
)
{
TRACE
(
"%p, %#lx, %p.
\n
"
,
pstg
,
reserved
,
propset
);
if
(
reserved
)
return
STG_E_INVALIDPARAMETER
;
return
IStorage_QueryInterface
(
pstg
,
&
IID_IPropertySetStorage
,
(
void
**
)
propset
);
}
/******************************************************************************
* StgOpenStorageEx [OLE32.@]
* StgOpenStorageEx [OLE32.@]
*/
*/
HRESULT
WINAPI
StgOpenStorageEx
(
const
WCHAR
*
pwcsName
,
DWORD
grfMode
,
DWORD
stgfmt
,
DWORD
grfAttrs
,
STGOPTIONS
*
pStgOptions
,
void
*
reserved
,
REFIID
riid
,
void
**
ppObjectOpen
)
HRESULT
WINAPI
StgOpenStorageEx
(
const
WCHAR
*
pwcsName
,
DWORD
grfMode
,
DWORD
stgfmt
,
DWORD
grfAttrs
,
STGOPTIONS
*
pStgOptions
,
void
*
reserved
,
REFIID
riid
,
void
**
ppObjectOpen
)
...
...
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