Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
a1852086
Commit
a1852086
authored
Jun 29, 2008
by
Jon Griffiths
Committed by
Alexandre Julliard
Jun 30, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Null doc string params return E_INVALIDARG.
parent
04912d26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
typelib2.c
dlls/oleaut32/typelib2.c
+4
-0
No files found.
dlls/oleaut32/typelib2.c
View file @
a1852086
...
...
@@ -1275,6 +1275,8 @@ static HRESULT WINAPI ICreateTypeInfo2_fnSetDocString(
int
offset
;
TRACE
(
"(%p,%s)
\n
"
,
iface
,
debugstr_w
(
pStrDoc
));
if
(
!
pStrDoc
)
return
E_INVALIDARG
;
offset
=
ctl2_alloc_string
(
This
->
typelib
,
pStrDoc
);
if
(
offset
==
-
1
)
return
E_OUTOFMEMORY
;
...
...
@@ -3154,6 +3156,8 @@ static HRESULT WINAPI ICreateTypeLib2_fnSetDocString(ICreateTypeLib2 * iface, LP
int
offset
;
TRACE
(
"(%p,%s)
\n
"
,
iface
,
debugstr_w
(
szDoc
));
if
(
!
szDoc
)
return
E_INVALIDARG
;
offset
=
ctl2_alloc_string
(
This
,
szDoc
);
if
(
offset
==
-
1
)
return
E_OUTOFMEMORY
;
...
...
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