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
93db14e7
Commit
93db14e7
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 SmallBlockChainStream.ownerPropertyIndex to ownerDirEntry.
parent
848caa51
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
storage32.c
dlls/ole32/storage32.c
+10
-10
storage32.h
dlls/ole32/storage32.h
+2
-2
No files found.
dlls/ole32/storage32.c
View file @
93db14e7
...
...
@@ -3375,7 +3375,7 @@ BlockChainStream* Storage32Impl_SmallBlocksToBigBlocks(
/*
* Destroy the small block chain.
*/
propertyIndex
=
(
*
ppsbChain
)
->
owner
PropertyIndex
;
propertyIndex
=
(
*
ppsbChain
)
->
owner
DirEntry
;
SmallBlockChainStream_SetSize
(
*
ppsbChain
,
size
);
SmallBlockChainStream_Destroy
(
*
ppsbChain
);
*
ppsbChain
=
0
;
...
...
@@ -4657,7 +4657,7 @@ static ULARGE_INTEGER BlockChainStream_GetSize(BlockChainStream* This)
SmallBlockChainStream
*
SmallBlockChainStream_Construct
(
StorageImpl
*
parentStorage
,
ULONG
*
headOfStreamPlaceHolder
,
ULONG
propertyIndex
)
ULONG
dirEntry
)
{
SmallBlockChainStream
*
newStream
;
...
...
@@ -4665,7 +4665,7 @@ SmallBlockChainStream* SmallBlockChainStream_Construct(
newStream
->
parentStorage
=
parentStorage
;
newStream
->
headOfStreamPlaceHolder
=
headOfStreamPlaceHolder
;
newStream
->
owner
PropertyIndex
=
propertyIndex
;
newStream
->
owner
DirEntry
=
dirEntry
;
return
newStream
;
}
...
...
@@ -4690,11 +4690,11 @@ static ULONG SmallBlockChainStream_GetHeadOfChain(
if
(
This
->
headOfStreamPlaceHolder
!=
NULL
)
return
*
(
This
->
headOfStreamPlaceHolder
);
if
(
This
->
owner
PropertyIndex
)
if
(
This
->
owner
DirEntry
)
{
readSuccessful
=
StorageImpl_ReadDirEntry
(
This
->
parentStorage
,
This
->
owner
PropertyIndex
,
This
->
owner
DirEntry
,
&
chainProperty
);
if
(
readSuccessful
)
...
...
@@ -5178,13 +5178,13 @@ static BOOL SmallBlockChainStream_Shrink(
DirEntry
chainProp
;
StorageImpl_ReadDirEntry
(
This
->
parentStorage
,
This
->
owner
PropertyIndex
,
This
->
owner
DirEntry
,
&
chainProp
);
chainProp
.
startingBlock
=
BLOCK_END_OF_CHAIN
;
StorageImpl_WriteDirEntry
(
This
->
parentStorage
,
This
->
owner
PropertyIndex
,
This
->
owner
DirEntry
,
&
chainProp
);
/*
...
...
@@ -5255,12 +5255,12 @@ static BOOL SmallBlockChainStream_Enlarge(
{
DirEntry
chainProp
;
StorageImpl_ReadDirEntry
(
This
->
parentStorage
,
This
->
owner
PropertyIndex
,
StorageImpl_ReadDirEntry
(
This
->
parentStorage
,
This
->
owner
DirEntry
,
&
chainProp
);
chainProp
.
startingBlock
=
blockIndex
;
StorageImpl_WriteDirEntry
(
This
->
parentStorage
,
This
->
owner
PropertyIndex
,
StorageImpl_WriteDirEntry
(
This
->
parentStorage
,
This
->
owner
DirEntry
,
&
chainProp
);
}
}
...
...
@@ -5385,7 +5385,7 @@ static ULARGE_INTEGER SmallBlockChainStream_GetSize(SmallBlockChainStream* This)
StorageImpl_ReadDirEntry
(
This
->
parentStorage
,
This
->
owner
PropertyIndex
,
This
->
owner
DirEntry
,
&
chainProperty
);
return
chainProperty
.
size
;
...
...
dlls/ole32/storage32.h
View file @
93db14e7
...
...
@@ -476,7 +476,7 @@ BOOL BlockChainStream_SetSize(
struct
SmallBlockChainStream
{
StorageImpl
*
parentStorage
;
ULONG
owner
PropertyIndex
;
ULONG
owner
DirEntry
;
ULONG
*
headOfStreamPlaceHolder
;
};
...
...
@@ -486,7 +486,7 @@ struct SmallBlockChainStream
SmallBlockChainStream
*
SmallBlockChainStream_Construct
(
StorageImpl
*
parentStorage
,
ULONG
*
headOfStreamPlaceHolder
,
ULONG
propertyIndex
);
ULONG
dirEntry
);
void
SmallBlockChainStream_Destroy
(
SmallBlockChainStream
*
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