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
42a4b11e
Commit
42a4b11e
authored
Nov 10, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Nov 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Rename StorageImpl_WriteProperty to StorageImpl_WriteDirEntry.
parent
b3c30b1f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
19 deletions
+19
-19
stg_stream.c
dlls/ole32/stg_stream.c
+1
-1
storage32.c
dlls/ole32/storage32.c
+17
-17
storage32.h
dlls/ole32/storage32.h
+1
-1
No files found.
dlls/ole32/stg_stream.c
View file @
42a4b11e
...
...
@@ -659,7 +659,7 @@ static HRESULT WINAPI StgStreamImpl_SetSize(
if
(
Success
)
{
StorageImpl_Write
Propert
y
(
This
->
parentStorage
->
ancestorStorage
,
StorageImpl_Write
DirEntr
y
(
This
->
parentStorage
->
ancestorStorage
,
This
->
ownerProperty
,
&
curProperty
);
}
...
...
dlls/ole32/storage32.c
View file @
42a4b11e
...
...
@@ -729,7 +729,7 @@ static HRESULT WINAPI StorageBaseImpl_RenameElement(
/* Change the name of the element */
strcpyW
(
currentProperty
.
name
,
pwcsNewName
);
StorageImpl_Write
Propert
y
(
This
->
ancestorStorage
,
foundPropertyIndex
,
StorageImpl_Write
DirEntr
y
(
This
->
ancestorStorage
,
foundPropertyIndex
,
&
currentProperty
);
/* Insert the element in a new position in the tree */
...
...
@@ -932,7 +932,7 @@ static HRESULT WINAPI StorageBaseImpl_SetClass(
{
curProperty
.
propertyUniqueID
=
*
clsid
;
success
=
StorageImpl_Write
Propert
y
(
This
->
ancestorStorage
,
success
=
StorageImpl_Write
DirEntr
y
(
This
->
ancestorStorage
,
This
->
rootPropertySetIndex
,
&
curProperty
);
if
(
success
)
...
...
@@ -1313,7 +1313,7 @@ static HRESULT insertIntoTree(
else
{
currentProperty
.
leftChild
=
newPropertyIndex
;
StorageImpl_Write
Propert
y
(
This
,
StorageImpl_Write
DirEntr
y
(
This
,
current
,
&
currentProperty
);
found
=
1
;
...
...
@@ -1331,7 +1331,7 @@ static HRESULT insertIntoTree(
else
{
currentProperty
.
rightChild
=
newPropertyIndex
;
StorageImpl_Write
Propert
y
(
This
,
StorageImpl_Write
DirEntr
y
(
This
,
current
,
&
currentProperty
);
found
=
1
;
...
...
@@ -1356,7 +1356,7 @@ static HRESULT insertIntoTree(
* The root storage is empty, link the new property to its dir property
*/
currentProperty
.
dirProperty
=
newPropertyIndex
;
StorageImpl_Write
Propert
y
(
This
,
StorageImpl_Write
DirEntr
y
(
This
,
parentStorageIndex
,
&
currentProperty
);
}
...
...
@@ -2002,7 +2002,7 @@ static HRESULT removeFromTree(
*/
setPropertyLink
(
&
parentProperty
,
typeOfRelation
,
propertyToDelete
.
leftChild
);
res
=
StorageImpl_Write
Propert
y
(
res
=
StorageImpl_Write
DirEntr
y
(
This
,
parentPropertyId
,
&
parentProperty
);
...
...
@@ -2038,7 +2038,7 @@ static HRESULT removeFromTree(
newRightChildParentProperty
.
rightChild
=
propertyToDelete
.
rightChild
;
res
=
StorageImpl_Write
Propert
y
(
res
=
StorageImpl_Write
DirEntr
y
(
This
,
newRightChildParent
,
&
newRightChildParentProperty
);
...
...
@@ -2055,7 +2055,7 @@ static HRESULT removeFromTree(
*/
setPropertyLink
(
&
parentProperty
,
typeOfRelation
,
propertyToDelete
.
rightChild
);
res
=
StorageImpl_Write
Propert
y
(
res
=
StorageImpl_Write
DirEntr
y
(
This
,
parentPropertyId
,
&
parentProperty
);
...
...
@@ -2277,7 +2277,7 @@ static HRESULT StorageImpl_Construct(
rootProp
.
size
.
u
.
HighPart
=
0
;
rootProp
.
size
.
u
.
LowPart
=
0
;
StorageImpl_Write
Propert
y
(
This
,
0
,
&
rootProp
);
StorageImpl_Write
DirEntr
y
(
This
,
0
,
&
rootProp
);
}
/*
...
...
@@ -3206,7 +3206,7 @@ BOOL StorageImpl_ReadDirEntry(
/*********************************************************************
* Write the specified property into the property chain
*/
BOOL
StorageImpl_Write
Propert
y
(
BOOL
StorageImpl_Write
DirEntr
y
(
StorageImpl
*
This
,
ULONG
index
,
const
DirEntry
*
buffer
)
...
...
@@ -3388,7 +3388,7 @@ BlockChainStream* Storage32Impl_SmallBlocksToBigBlocks(
chainProperty
.
startingBlock
=
bbHeadOfChain
;
StorageImpl_Write
Propert
y
(
This
,
propertyIndex
,
&
chainProperty
);
StorageImpl_Write
DirEntr
y
(
This
,
propertyIndex
,
&
chainProperty
);
/*
* Destroy the temporary propertyless big block chain.
...
...
@@ -3477,7 +3477,7 @@ SmallBlockChainStream* Storage32Impl_BigBlocksToSmallBlocks(
StorageImpl_ReadDirEntry
(
This
,
propertyIndex
,
&
chainProperty
);
chainProperty
.
startingBlock
=
sbHeadOfChain
;
StorageImpl_Write
Propert
y
(
This
,
propertyIndex
,
&
chainProperty
);
StorageImpl_Write
DirEntr
y
(
This
,
propertyIndex
,
&
chainProperty
);
SmallBlockChainStream_Destroy
(
sbTempChain
);
return
SmallBlockChainStream_Construct
(
This
,
NULL
,
propertyIndex
);
...
...
@@ -4507,7 +4507,7 @@ static BOOL BlockChainStream_Enlarge(BlockChainStream* This,
chainProp
.
startingBlock
=
blockIndex
;
StorageImpl_Write
Propert
y
(
StorageImpl_Write
DirEntr
y
(
This
->
parentStorage
,
This
->
ownerPropertyIndex
,
&
chainProp
);
...
...
@@ -4907,7 +4907,7 @@ static ULONG SmallBlockChainStream_GetNextFreeBlock(
rootProp
.
size
.
u
.
HighPart
=
0
;
rootProp
.
size
.
u
.
LowPart
=
This
->
parentStorage
->
bigBlockSize
;
StorageImpl_Write
Propert
y
(
StorageImpl_Write
DirEntr
y
(
This
->
parentStorage
,
This
->
parentStorage
->
base
.
rootPropertySetIndex
,
&
rootProp
);
...
...
@@ -4942,7 +4942,7 @@ static ULONG SmallBlockChainStream_GetNextFreeBlock(
This
->
parentStorage
->
smallBlockRootChain
,
rootProp
.
size
);
StorageImpl_Write
Propert
y
(
StorageImpl_Write
DirEntr
y
(
This
->
parentStorage
,
This
->
parentStorage
->
base
.
rootPropertySetIndex
,
&
rootProp
);
...
...
@@ -5183,7 +5183,7 @@ static BOOL SmallBlockChainStream_Shrink(
chainProp
.
startingBlock
=
BLOCK_END_OF_CHAIN
;
StorageImpl_Write
Propert
y
(
This
->
parentStorage
,
StorageImpl_Write
DirEntr
y
(
This
->
parentStorage
,
This
->
ownerPropertyIndex
,
&
chainProp
);
...
...
@@ -5260,7 +5260,7 @@ static BOOL SmallBlockChainStream_Enlarge(
chainProp
.
startingBlock
=
blockIndex
;
StorageImpl_Write
Propert
y
(
This
->
parentStorage
,
This
->
ownerPropertyIndex
,
StorageImpl_Write
DirEntr
y
(
This
->
parentStorage
,
This
->
ownerPropertyIndex
,
&
chainProp
);
}
}
...
...
dlls/ole32/storage32.h
View file @
42a4b11e
...
...
@@ -307,7 +307,7 @@ BOOL StorageImpl_ReadDirEntry(
ULONG
index
,
DirEntry
*
buffer
);
BOOL
StorageImpl_Write
Propert
y
(
BOOL
StorageImpl_Write
DirEntr
y
(
StorageImpl
*
This
,
ULONG
index
,
const
DirEntry
*
buffer
);
...
...
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