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
c241468f
Commit
c241468f
authored
Nov 16, 2023
by
Fabian Maurer
Committed by
Alexandre Julliard
Dec 01, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coml2: Move WriteClassStg from ole32.
parent
754631be
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
17 deletions
+15
-17
coml2.spec
dlls/coml2/coml2.spec
+1
-1
storage32.c
dlls/coml2/storage32.c
+14
-0
storage32.c
dlls/ole32/storage32.c
+0
-16
No files found.
dlls/coml2/coml2.spec
View file @
c241468f
...
...
@@ -29,5 +29,5 @@
@ stub StgOpenStorageEx
@ stub StgOpenStorageOnILockBytes
@ stub StgSetTimes
@ st
ub WriteClassStg
@ st
dcall WriteClassStg(ptr ptr)
@ stdcall WriteClassStm(ptr ptr)
dlls/coml2/storage32.c
View file @
c241468f
...
...
@@ -51,6 +51,20 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
storage
);
/***********************************************************************
* WriteClassStg [coml2.@]
*/
HRESULT
WINAPI
WriteClassStg
(
IStorage
*
pStg
,
REFCLSID
rclsid
)
{
if
(
!
pStg
)
return
E_INVALIDARG
;
if
(
!
rclsid
)
return
STG_E_INVALIDPOINTER
;
return
IStorage_SetClass
(
pStg
,
rclsid
);
}
/***********************************************************************
* ReadClassStg (coml2.@)
*/
HRESULT
WINAPI
ReadClassStg
(
IStorage
*
pstg
,
CLSID
*
pclsid
)
...
...
dlls/ole32/storage32.c
View file @
c241468f
...
...
@@ -9026,22 +9026,6 @@ HRESULT WINAPI StgIsStorageILockBytes(ILockBytes *plkbyt)
return
S_FALSE
;
}
/******************************************************************************
* WriteClassStg [OLE32.@]
*
* This method will store the specified CLSID in the specified storage object
*/
HRESULT
WINAPI
WriteClassStg
(
IStorage
*
pStg
,
REFCLSID
rclsid
)
{
if
(
!
pStg
)
return
E_INVALIDARG
;
if
(
!
rclsid
)
return
STG_E_INVALIDPOINTER
;
return
IStorage_SetClass
(
pStg
,
rclsid
);
}
/***********************************************************************
* OleLoadFromStream (OLE32.@)
*
...
...
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