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
a841fec2
Commit
a841fec2
authored
Mar 17, 1999
by
Thuy Nguyen
Committed by
Alexandre Julliard
Mar 17, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return error if not a valid OLE compound file.
parent
4d998184
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
storage32.c
ole/storage32.c
+16
-2
No files found.
ole/storage32.c
View file @
a841fec2
...
...
@@ -1915,7 +1915,14 @@ HRESULT StorageImpl_Construct(
/*
* Load the header for the file.
*/
StorageImpl_LoadFileHeader
(
This
);
hr
=
StorageImpl_LoadFileHeader
(
This
);
if
(
FAILED
(
hr
))
{
BIGBLOCKFILE_Destructor
(
This
->
bigBlockFile
);
return
hr
;
}
}
/*
...
...
@@ -2599,6 +2606,8 @@ HRESULT StorageImpl_LoadFileHeader(
* Release the block.
*/
StorageImpl_ReleaseBigBlock
(
This
,
headerBigBlock
);
hr
=
S_OK
;
}
return
hr
;
...
...
@@ -4939,7 +4948,6 @@ ULARGE_INTEGER SmallBlockChainStream_GetSize(SmallBlockChainStream* This)
/******************************************************************************
* StgCreateDocfile32 [OLE32.144]
* TODO Validate grfMode (STGM)
*/
HRESULT
WINAPI
StgCreateDocfile
(
LPCOLESTR
pwcsName
,
...
...
@@ -5035,7 +5043,10 @@ HRESULT WINAPI StgCreateDocfile(
grfMode
);
if
(
FAILED
(
hr
))
{
HeapFree
(
GetProcessHeap
(),
0
,
newStorage
);
return
hr
;
}
/*
* Get an "out" pointer for the caller.
...
...
@@ -5116,7 +5127,10 @@ HRESULT WINAPI StgOpenStorage(
grfMode
);
if
(
FAILED
(
hr
))
{
HeapFree
(
GetProcessHeap
(),
0
,
newStorage
);
return
hr
;
}
/*
* Get an "out" pointer for the caller.
...
...
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