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
8f2d0f88
Commit
8f2d0f88
authored
Nov 12, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Nov 17, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Rename property variables in BlockChainStream methods.
parent
3aa8cdec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
15 deletions
+14
-15
storage32.c
dlls/ole32/storage32.c
+14
-15
No files found.
dlls/ole32/storage32.c
View file @
8f2d0f88
...
...
@@ -4146,13 +4146,13 @@ void BlockChainStream_Destroy(BlockChainStream* This)
* BlockChainStream_GetHeadOfChain
*
* Returns the head of this stream chain.
* Some special chains don't have
propert
ies, their heads are kept in
* Some special chains don't have
directory entr
ies, their heads are kept in
* This->headOfStreamPlaceHolder.
*
*/
static
ULONG
BlockChainStream_GetHeadOfChain
(
BlockChainStream
*
This
)
{
DirEntry
chain
Propert
y
;
DirEntry
chain
Entr
y
;
BOOL
readSuccessful
;
if
(
This
->
headOfStreamPlaceHolder
!=
0
)
...
...
@@ -4163,11 +4163,11 @@ static ULONG BlockChainStream_GetHeadOfChain(BlockChainStream* This)
readSuccessful
=
StorageImpl_ReadDirEntry
(
This
->
parentStorage
,
This
->
ownerDirEntry
,
&
chain
Propert
y
);
&
chain
Entr
y
);
if
(
readSuccessful
)
{
return
chain
Propert
y
.
startingBlock
;
return
chain
Entr
y
.
startingBlock
;
}
}
...
...
@@ -4494,20 +4494,20 @@ static BOOL BlockChainStream_Enlarge(BlockChainStream* This,
}
else
{
DirEntry
chain
Prop
;
DirEntry
chain
Entry
;
assert
(
This
->
ownerDirEntry
!=
DIRENTRY_NULL
);
StorageImpl_ReadDirEntry
(
This
->
parentStorage
,
This
->
ownerDirEntry
,
&
chain
Prop
);
&
chain
Entry
);
chain
Prop
.
startingBlock
=
blockIndex
;
chain
Entry
.
startingBlock
=
blockIndex
;
StorageImpl_WriteDirEntry
(
This
->
parentStorage
,
This
->
ownerDirEntry
,
&
chain
Prop
);
&
chain
Entry
);
}
This
->
tailIndex
=
blockIndex
;
...
...
@@ -4610,29 +4610,28 @@ BOOL BlockChainStream_SetSize(
* BlockChainStream_GetSize
*
* Returns the size of this chain.
* Will return the block count if this chain doesn't have a
propert
y.
* Will return the block count if this chain doesn't have a
directory entr
y.
*/
static
ULARGE_INTEGER
BlockChainStream_GetSize
(
BlockChainStream
*
This
)
{
DirEntry
chain
Propert
y
;
DirEntry
chain
Entr
y
;
if
(
This
->
headOfStreamPlaceHolder
==
NULL
)
{
/*
* This chain is a data stream read the property and return
* the appropriate size
* This chain has a directory entry so use the size value from there.
*/
StorageImpl_ReadDirEntry
(
This
->
parentStorage
,
This
->
ownerDirEntry
,
&
chain
Propert
y
);
&
chain
Entr
y
);
return
chain
Propert
y
.
size
;
return
chain
Entr
y
.
size
;
}
else
{
/*
* this chain is a chain that does not have a
propert
y, figure out the
* this chain is a chain that does not have a
directory entr
y, figure out the
* size by making the product number of used blocks times the
* size of them
*/
...
...
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