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
848caa51
Commit
848caa51
authored
Nov 12, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Nov 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Rename BlockChainStream.ownerPropertyIndex to ownerDirEntry.
parent
df960e27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
storage32.c
dlls/ole32/storage32.c
+9
-9
storage32.h
dlls/ole32/storage32.h
+2
-2
No files found.
dlls/ole32/storage32.c
View file @
848caa51
...
...
@@ -3470,7 +3470,7 @@ SmallBlockChainStream* Storage32Impl_BigBlocksToSmallBlocks(
}
/* destroy the original big block chain */
propertyIndex
=
(
*
ppbbChain
)
->
owner
PropertyIndex
;
propertyIndex
=
(
*
ppbbChain
)
->
owner
DirEntry
;
BlockChainStream_SetSize
(
*
ppbbChain
,
size
);
BlockChainStream_Destroy
(
*
ppbbChain
);
*
ppbbChain
=
NULL
;
...
...
@@ -4106,7 +4106,7 @@ void StorageUtl_CopyDirEntryToSTATSTG(
BlockChainStream
*
BlockChainStream_Construct
(
StorageImpl
*
parentStorage
,
ULONG
*
headOfStreamPlaceHolder
,
ULONG
propertyIndex
)
ULONG
dirEntry
)
{
BlockChainStream
*
newStream
;
ULONG
blockIndex
;
...
...
@@ -4115,7 +4115,7 @@ BlockChainStream* BlockChainStream_Construct(
newStream
->
parentStorage
=
parentStorage
;
newStream
->
headOfStreamPlaceHolder
=
headOfStreamPlaceHolder
;
newStream
->
owner
PropertyIndex
=
propertyIndex
;
newStream
->
owner
DirEntry
=
dirEntry
;
newStream
->
lastBlockNoInSequence
=
0xFFFFFFFF
;
newStream
->
tailIndex
=
BLOCK_END_OF_CHAIN
;
newStream
->
numBlocks
=
0
;
...
...
@@ -4161,11 +4161,11 @@ static ULONG BlockChainStream_GetHeadOfChain(BlockChainStream* This)
if
(
This
->
headOfStreamPlaceHolder
!=
0
)
return
*
(
This
->
headOfStreamPlaceHolder
);
if
(
This
->
owner
PropertyIndex
!=
DIRENTRY_NULL
)
if
(
This
->
owner
DirEntry
!=
DIRENTRY_NULL
)
{
readSuccessful
=
StorageImpl_ReadDirEntry
(
This
->
parentStorage
,
This
->
owner
PropertyIndex
,
This
->
owner
DirEntry
,
&
chainProperty
);
if
(
readSuccessful
)
...
...
@@ -4498,18 +4498,18 @@ static BOOL BlockChainStream_Enlarge(BlockChainStream* This,
else
{
DirEntry
chainProp
;
assert
(
This
->
owner
PropertyIndex
!=
DIRENTRY_NULL
);
assert
(
This
->
owner
DirEntry
!=
DIRENTRY_NULL
);
StorageImpl_ReadDirEntry
(
This
->
parentStorage
,
This
->
owner
PropertyIndex
,
This
->
owner
DirEntry
,
&
chainProp
);
chainProp
.
startingBlock
=
blockIndex
;
StorageImpl_WriteDirEntry
(
This
->
parentStorage
,
This
->
owner
PropertyIndex
,
This
->
owner
DirEntry
,
&
chainProp
);
}
...
...
@@ -4627,7 +4627,7 @@ static ULARGE_INTEGER BlockChainStream_GetSize(BlockChainStream* This)
*/
StorageImpl_ReadDirEntry
(
This
->
parentStorage
,
This
->
owner
PropertyIndex
,
This
->
owner
DirEntry
,
&
chainProperty
);
return
chainProperty
.
size
;
...
...
dlls/ole32/storage32.h
View file @
848caa51
...
...
@@ -431,7 +431,7 @@ struct BlockChainStream
{
StorageImpl
*
parentStorage
;
ULONG
*
headOfStreamPlaceHolder
;
ULONG
owner
PropertyIndex
;
ULONG
owner
DirEntry
;
ULONG
lastBlockNoInSequence
;
ULONG
lastBlockNoInSequenceIndex
;
ULONG
tailIndex
;
...
...
@@ -444,7 +444,7 @@ struct BlockChainStream
BlockChainStream
*
BlockChainStream_Construct
(
StorageImpl
*
parentStorage
,
ULONG
*
headOfStreamPlaceHolder
,
ULONG
propertyIndex
);
ULONG
dirEntry
);
void
BlockChainStream_Destroy
(
BlockChainStream
*
This
);
...
...
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