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
fd2f35a8
Commit
fd2f35a8
authored
Oct 28, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Nov 03, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Rename StorageImpl_DestroyElement to StorageBaseImpl_DestroyElement.
parent
c4aed165
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
storage32.c
dlls/ole32/storage32.c
+15
-15
No files found.
dlls/ole32/storage32.c
View file @
fd2f35a8
...
...
@@ -160,12 +160,12 @@ typedef struct
* Forward declaration of internal functions used by the method DestroyElement
*/
static
HRESULT
deleteStorageProperty
(
StorageImpl
*
parentStorage
,
Storage
Base
Impl
*
parentStorage
,
ULONG
foundPropertyIndexToDelete
,
StgProperty
propertyToDelete
);
static
HRESULT
deleteStreamProperty
(
StorageImpl
*
parentStorage
,
Storage
Base
Impl
*
parentStorage
,
ULONG
foundPropertyIndexToDelete
,
StgProperty
propertyToDelete
);
...
...
@@ -1745,11 +1745,11 @@ static HRESULT WINAPI StorageImpl_Revert(
* enumeration strategy that would give all the leaves of a storage
* first. (postfix order)
*/
static
HRESULT
WINAPI
StorageImpl_DestroyElement
(
static
HRESULT
WINAPI
Storage
Base
Impl_DestroyElement
(
IStorage
*
iface
,
const
OLECHAR
*
pwcsName
)
/* [string][in] */
{
Storage
Impl
*
const
This
=
(
Storag
eImpl
*
)
iface
;
Storage
BaseImpl
*
const
This
=
(
StorageBas
eImpl
*
)
iface
;
HRESULT
hr
=
S_OK
;
StgProperty
propertyToDelete
;
...
...
@@ -1761,12 +1761,12 @@ static HRESULT WINAPI StorageImpl_DestroyElement(
if
(
pwcsName
==
NULL
)
return
STG_E_INVALIDPOINTER
;
if
(
STGM_ACCESS_MODE
(
This
->
base
.
openFlags
)
==
STGM_READ
)
if
(
STGM_ACCESS_MODE
(
This
->
openFlags
)
==
STGM_READ
)
return
STG_E_ACCESSDENIED
;
foundPropertyIndexToDelete
=
findElement
(
This
->
base
.
ancestorStorage
,
This
->
base
.
rootPropertySetIndex
,
This
->
ancestorStorage
,
This
->
rootPropertySetIndex
,
pwcsName
,
&
propertyToDelete
);
...
...
@@ -1797,8 +1797,8 @@ static HRESULT WINAPI StorageImpl_DestroyElement(
* Adjust the property chain
*/
hr
=
removeFromTree
(
This
->
base
.
ancestorStorage
,
This
->
base
.
rootPropertySetIndex
,
This
->
ancestorStorage
,
This
->
rootPropertySetIndex
,
foundPropertyIndexToDelete
);
/*
...
...
@@ -1806,7 +1806,7 @@ static HRESULT WINAPI StorageImpl_DestroyElement(
*/
propertyToDelete
.
sizeOfNameString
=
0
;
StorageImpl_WriteProperty
(
This
->
base
.
ancestorStorage
,
StorageImpl_WriteProperty
(
This
->
ancestorStorage
,
foundPropertyIndexToDelete
,
&
propertyToDelete
);
...
...
@@ -1876,7 +1876,7 @@ static void StorageBaseImpl_DeleteAll(StorageBaseImpl * stg)
*
*/
static
HRESULT
deleteStorageProperty
(
StorageImpl
*
parentStorage
,
Storage
Base
Impl
*
parentStorage
,
ULONG
indexOfPropertyToDelete
,
StgProperty
propertyToDelete
)
{
...
...
@@ -1916,7 +1916,7 @@ static HRESULT deleteStorageProperty(
hr
=
IEnumSTATSTG_Next
(
elements
,
1
,
&
currentElement
,
NULL
);
if
(
hr
==
S_OK
)
{
destroyHr
=
StorageImpl
_DestroyElement
(
childStorage
,
currentElement
.
pwcsName
);
destroyHr
=
IStorage
_DestroyElement
(
childStorage
,
currentElement
.
pwcsName
);
CoTaskMemFree
(
currentElement
.
pwcsName
);
}
...
...
@@ -1943,7 +1943,7 @@ static HRESULT deleteStorageProperty(
*
*/
static
HRESULT
deleteStreamProperty
(
StorageImpl
*
parentStorage
,
Storage
Base
Impl
*
parentStorage
,
ULONG
indexOfPropertyToDelete
,
StgProperty
propertyToDelete
)
{
...
...
@@ -2146,7 +2146,7 @@ static const IStorageVtbl Storage32Impl_Vtbl =
StorageImpl_Commit
,
StorageImpl_Revert
,
StorageBaseImpl_EnumElements
,
StorageImpl_DestroyElement
,
Storage
Base
Impl_DestroyElement
,
StorageBaseImpl_RenameElement
,
StorageImpl_SetElementTimes
,
StorageBaseImpl_SetClass
,
...
...
@@ -3954,7 +3954,7 @@ static const IStorageVtbl Storage32InternalImpl_Vtbl =
StorageInternalImpl_Commit
,
StorageInternalImpl_Revert
,
StorageBaseImpl_EnumElements
,
StorageImpl_DestroyElement
,
Storage
Base
Impl_DestroyElement
,
StorageBaseImpl_RenameElement
,
StorageImpl_SetElementTimes
,
StorageBaseImpl_SetClass
,
...
...
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