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
14647d7c
Commit
14647d7c
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 deleteSt*Property to deleteSt*Contents.
We now only delete the node contents in these functions.
parent
390e2711
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
storage32.c
dlls/ole32/storage32.c
+18
-18
No files found.
dlls/ole32/storage32.c
View file @
14647d7c
...
...
@@ -159,15 +159,15 @@ typedef struct
/***********************************************************************
* Forward declaration of internal functions used by the method DestroyElement
*/
static
HRESULT
deleteStorage
Property
(
static
HRESULT
deleteStorage
Contents
(
StorageBaseImpl
*
parentStorage
,
ULONG
foundPropertyI
ndexToDelete
,
DirEntry
property
ToDelete
);
ULONG
i
ndexToDelete
,
DirEntry
entryData
ToDelete
);
static
HRESULT
deleteStream
Property
(
static
HRESULT
deleteStream
Contents
(
StorageBaseImpl
*
parentStorage
,
ULONG
foundPropertyI
ndexToDelete
,
DirEntry
property
ToDelete
);
ULONG
i
ndexToDelete
,
DirEntry
entryData
ToDelete
);
static
HRESULT
removeFromTree
(
StorageImpl
*
This
,
...
...
@@ -1746,14 +1746,14 @@ static HRESULT WINAPI StorageBaseImpl_DestroyElement(
if
(
propertyToDelete
.
stgType
==
STGTY_STORAGE
)
{
hr
=
deleteStorage
Property
(
hr
=
deleteStorage
Contents
(
This
,
foundPropertyIndexToDelete
,
propertyToDelete
);
}
else
if
(
propertyToDelete
.
stgType
==
STGTY_STREAM
)
{
hr
=
deleteStream
Property
(
hr
=
deleteStream
Contents
(
This
,
foundPropertyIndexToDelete
,
propertyToDelete
);
...
...
@@ -1839,13 +1839,13 @@ static void StorageBaseImpl_DeleteAll(StorageBaseImpl * stg)
*
* Internal Method
*
*
Perform the deletion of a complete storage node
*
Delete the contents of a storage entry.
*
*/
static
HRESULT
deleteStorage
Property
(
static
HRESULT
deleteStorage
Contents
(
StorageBaseImpl
*
parentStorage
,
ULONG
index
OfProperty
ToDelete
,
DirEntry
property
ToDelete
)
ULONG
indexToDelete
,
DirEntry
entryData
ToDelete
)
{
IEnumSTATSTG
*
elements
=
0
;
IStorage
*
childStorage
=
0
;
...
...
@@ -1858,7 +1858,7 @@ static HRESULT deleteStorageProperty(
*/
hr
=
StorageBaseImpl_OpenStorage
(
(
IStorage
*
)
parentStorage
,
property
ToDelete
.
name
,
entryData
ToDelete
.
name
,
0
,
STGM_WRITE
|
STGM_SHARE_EXCLUSIVE
,
0
,
...
...
@@ -1906,13 +1906,13 @@ static HRESULT deleteStorageProperty(
*
* Internal Method
*
* Perform the deletion of a stream
node
* Perform the deletion of a stream
's data
*
*/
static
HRESULT
deleteStream
Property
(
static
HRESULT
deleteStream
Contents
(
StorageBaseImpl
*
parentStorage
,
ULONG
index
OfProperty
ToDelete
,
DirEntry
property
ToDelete
)
ULONG
indexToDelete
,
DirEntry
entryData
ToDelete
)
{
IStream
*
pis
;
HRESULT
hr
;
...
...
@@ -1922,7 +1922,7 @@ static HRESULT deleteStreamProperty(
size
.
u
.
LowPart
=
0
;
hr
=
StorageBaseImpl_OpenStream
((
IStorage
*
)
parentStorage
,
property
ToDelete
.
name
,
NULL
,
STGM_WRITE
|
STGM_SHARE_EXCLUSIVE
,
0
,
&
pis
);
entryData
ToDelete
.
name
,
NULL
,
STGM_WRITE
|
STGM_SHARE_EXCLUSIVE
,
0
,
&
pis
);
if
(
hr
!=
S_OK
)
{
...
...
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