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
754631be
Commit
754631be
authored
Nov 25, 2023
by
Fabian Maurer
Committed by
Alexandre Julliard
Dec 01, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coml2: Move WriteClassStm from ole32.
parent
fae82527
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
24 deletions
+14
-24
coml2.spec
dlls/coml2/coml2.spec
+1
-1
storage32.c
dlls/coml2/storage32.c
+13
-0
storage32.c
dlls/ole32/storage32.c
+0
-23
No files found.
dlls/coml2/coml2.spec
View file @
754631be
...
...
@@ -30,4 +30,4 @@
@ stub StgOpenStorageOnILockBytes
@ stub StgSetTimes
@ stub WriteClassStg
@ st
ub WriteClassStm
@ st
dcall WriteClassStm(ptr ptr)
dlls/coml2/storage32.c
View file @
754631be
...
...
@@ -75,6 +75,19 @@ HRESULT WINAPI ReadClassStg(IStorage *pstg, CLSID *pclsid)
}
/***********************************************************************
* WriteClassStm (coml2.@)
*/
HRESULT
WINAPI
WriteClassStm
(
IStream
*
pStm
,
REFCLSID
rclsid
)
{
TRACE
(
"(%p,%p)
\n
"
,
pStm
,
rclsid
);
if
(
!
pStm
||
!
rclsid
)
return
E_INVALIDARG
;
return
IStream_Write
(
pStm
,
rclsid
,
sizeof
(
CLSID
),
NULL
);
}
/***********************************************************************
* ReadClassStm (coml2.@)
*/
HRESULT
WINAPI
ReadClassStm
(
IStream
*
pStm
,
CLSID
*
pclsid
)
...
...
dlls/ole32/storage32.c
View file @
754631be
...
...
@@ -9426,29 +9426,6 @@ StgIsStorageFile(LPCOLESTR fn)
return
S_FALSE
;
}
/***********************************************************************
* WriteClassStm (OLE32.@)
*
* Writes a CLSID to a stream.
*
* PARAMS
* pStm [I] Stream to write to.
* rclsid [I] CLSID to write.
*
* RETURNS
* Success: S_OK.
* Failure: HRESULT code.
*/
HRESULT
WINAPI
WriteClassStm
(
IStream
*
pStm
,
REFCLSID
rclsid
)
{
TRACE
(
"(%p,%p)
\n
"
,
pStm
,
rclsid
);
if
(
!
pStm
||
!
rclsid
)
return
E_INVALIDARG
;
return
IStream_Write
(
pStm
,
rclsid
,
sizeof
(
CLSID
),
NULL
);
}
/************************************************************************
* OleConvert Functions
***********************************************************************/
...
...
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