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
81079552
Commit
81079552
authored
May 20, 2014
by
Vincent Povirk
Committed by
Alexandre Julliard
Jun 12, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Support storage files larger than 4 GB.
parent
ab0513ef
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
56 deletions
+49
-56
stg_stream.c
dlls/ole32/stg_stream.c
+2
-2
storage32.c
dlls/ole32/storage32.c
+46
-54
storage32.h
dlls/ole32/storage32.h
+1
-0
No files found.
dlls/ole32/stg_stream.c
View file @
81079552
...
...
@@ -166,7 +166,7 @@ static HRESULT WINAPI StgStreamImpl_Read(
/*
* Advance the pointer for the number of positions read.
*/
This
->
currentPosition
.
u
.
Low
Part
+=
*
pcbRead
;
This
->
currentPosition
.
Quad
Part
+=
*
pcbRead
;
}
TRACE
(
"<-- %08x
\n
"
,
res
);
...
...
@@ -247,7 +247,7 @@ static HRESULT WINAPI StgStreamImpl_Write(
/*
* Advance the position pointer for the number of positions written.
*/
This
->
currentPosition
.
u
.
Low
Part
+=
*
pcbWritten
;
This
->
currentPosition
.
Quad
Part
+=
*
pcbWritten
;
if
(
SUCCEEDED
(
res
))
res
=
StorageBaseImpl_Flush
(
This
->
parentStorage
);
...
...
dlls/ole32/storage32.c
View file @
81079552
This diff is collapsed.
Click to expand it.
dlls/ole32/storage32.h
View file @
81079552
...
...
@@ -71,6 +71,7 @@ static const ULONG OFFSET_PS_MTIMELOW = 0x0000006C;
static
const
ULONG
OFFSET_PS_MTIMEHIGH
=
0x00000070
;
static
const
ULONG
OFFSET_PS_STARTBLOCK
=
0x00000074
;
static
const
ULONG
OFFSET_PS_SIZE
=
0x00000078
;
static
const
ULONG
OFFSET_PS_SIZE_HIGH
=
0x0000007C
;
static
const
WORD
DEF_BIG_BLOCK_SIZE_BITS
=
0x0009
;
static
const
WORD
MIN_BIG_BLOCK_SIZE_BITS
=
0x0009
;
static
const
WORD
MAX_BIG_BLOCK_SIZE_BITS
=
0x000c
;
...
...
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