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
5838bcf8
Commit
5838bcf8
authored
Nov 11, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Nov 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Rename PROPERTY_RELATION constants to DIRENTRY_RELATION.
parent
5969bde0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
storage32.c
dlls/ole32/storage32.c
+6
-6
storage32.h
dlls/ole32/storage32.h
+4
-4
No files found.
dlls/ole32/storage32.c
View file @
5838bcf8
...
...
@@ -1422,7 +1422,7 @@ static HRESULT findTreeParent(StorageImpl *storage, ULONG storageEntry,
StorageImpl_ReadDirEntry
(
storage
,
storageEntry
,
parentData
);
*
parentEntry
=
storageEntry
;
*
relation
=
PROPERT
Y_RELATION_DIR
;
*
relation
=
DIRENTR
Y_RELATION_DIR
;
childEntry
=
parentData
->
dirRootEntry
;
...
...
@@ -1442,7 +1442,7 @@ static HRESULT findTreeParent(StorageImpl *storage, ULONG storageEntry,
{
*
parentData
=
childData
;
*
parentEntry
=
childEntry
;
*
relation
=
PROPERT
Y_RELATION_PREVIOUS
;
*
relation
=
DIRENTR
Y_RELATION_PREVIOUS
;
childEntry
=
parentData
->
leftChild
;
}
...
...
@@ -1451,7 +1451,7 @@ static HRESULT findTreeParent(StorageImpl *storage, ULONG storageEntry,
{
*
parentData
=
childData
;
*
parentEntry
=
childEntry
;
*
relation
=
PROPERT
Y_RELATION_NEXT
;
*
relation
=
DIRENTR
Y_RELATION_NEXT
;
childEntry
=
parentData
->
rightChild
;
}
...
...
@@ -1951,13 +1951,13 @@ static void setPropertyLink(DirEntry *property, ULONG relation, ULONG new_target
{
switch
(
relation
)
{
case
PROPERT
Y_RELATION_PREVIOUS
:
case
DIRENTR
Y_RELATION_PREVIOUS
:
property
->
leftChild
=
new_target
;
break
;
case
PROPERT
Y_RELATION_NEXT
:
case
DIRENTR
Y_RELATION_NEXT
:
property
->
rightChild
=
new_target
;
break
;
case
PROPERT
Y_RELATION_DIR
:
case
DIRENTR
Y_RELATION_DIR
:
property
->
dirRootEntry
=
new_target
;
break
;
default:
...
...
dlls/ole32/storage32.h
View file @
5838bcf8
...
...
@@ -80,11 +80,11 @@ static const ULONG DIRENTRY_NULL = 0xFFFFFFFF;
#define RAW_DIRENTRY_SIZE 0x00000080
/*
*
Property type of relation
*
Type of child entry link
*/
#define
PROPERT
Y_RELATION_PREVIOUS 0
#define
PROPERT
Y_RELATION_NEXT 1
#define
PROPERT
Y_RELATION_DIR 2
#define
DIRENTR
Y_RELATION_PREVIOUS 0
#define
DIRENTR
Y_RELATION_NEXT 1
#define
DIRENTR
Y_RELATION_DIR 2
/*
* type constant used in files for the root storage
...
...
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