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
0c49c1c4
Commit
0c49c1c4
authored
Aug 29, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Aug 29, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- build a standard Wine list of extensions instead of using an array
- use extension pointers instead of array indexes
parent
a107234d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
9 deletions
+12
-9
action.h
dlls/msi/action.h
+3
-2
classes.c
dlls/msi/classes.c
+0
-0
helpers.c
dlls/msi/helpers.c
+7
-5
msipriv.h
dlls/msi/msipriv.h
+1
-2
package.c
dlls/msi/package.c
+1
-0
No files found.
dlls/msi/action.h
View file @
0c49c1c4
...
...
@@ -156,6 +156,7 @@ typedef struct tagMSIMIME MSIMIME;
typedef
struct
tagMSIEXTENSION
{
struct
list
entry
;
WCHAR
Extension
[
256
];
/* Primary Key */
MSICOMPONENT
*
Component
;
INT
ProgIDIndex
;
...
...
@@ -183,7 +184,7 @@ typedef struct tagMSIPROGID
typedef
struct
tagMSIVERB
{
INT
ExtensionIndex
;
MSIEXTENSION
*
Extension
;
LPWSTR
Verb
;
INT
Sequence
;
LPWSTR
Command
;
...
...
@@ -194,7 +195,7 @@ struct tagMSIMIME
{
struct
list
entry
;
LPWSTR
ContentType
;
/* Primary Key */
INT
ExtensionIndex
;
MSIEXTENSION
*
Extension
;
WCHAR
CLSID
[
IDENTIFIER_SIZE
];
MSICLASS
*
Class
;
/* not in the table, set during installation */
...
...
dlls/msi/classes.c
View file @
0c49c1c4
This diff is collapsed.
Click to expand it.
dlls/msi/helpers.c
View file @
0c49c1c4
...
...
@@ -498,15 +498,17 @@ void ACTION_free_package_structures( MSIPACKAGE* package)
HeapFree
(
GetProcessHeap
(),
0
,
cls
->
DefInprocHandler32
);
HeapFree
(
GetProcessHeap
(),
0
,
cls
->
Argument
);
HeapFree
(
GetProcessHeap
(),
0
,
cls
->
ProgIDText
);
HeapFree
(
GetProcessHeap
(),
0
,
cls
);
}
for
(
i
=
0
;
i
<
package
->
loaded_extensions
;
i
++
)
LIST_FOR_EACH_SAFE
(
item
,
cursor
,
&
package
->
extensions
)
{
HeapFree
(
GetProcessHeap
(),
0
,
package
->
extensions
[
i
].
ProgIDText
);
}
MSIEXTENSION
*
ext
=
LIST_ENTRY
(
item
,
MSIEXTENSION
,
entry
);
if
(
package
->
extensions
&&
package
->
loaded_extensions
>
0
)
HeapFree
(
GetProcessHeap
(),
0
,
package
->
extensions
);
list_remove
(
&
ext
->
entry
);
HeapFree
(
GetProcessHeap
(),
0
,
ext
->
ProgIDText
);
HeapFree
(
GetProcessHeap
(),
0
,
ext
);
}
for
(
i
=
0
;
i
<
package
->
loaded_progids
;
i
++
)
{
...
...
dlls/msi/msipriv.h
View file @
0c49c1c4
...
...
@@ -193,8 +193,7 @@ typedef struct tagMSIPACKAGE
LPWSTR
LastAction
;
struct
list
classes
;
struct
tagMSIEXTENSION
*
extensions
;
UINT
loaded_extensions
;
struct
list
extensions
;
struct
tagMSIPROGID
*
progids
;
UINT
loaded_progids
;
struct
tagMSIVERB
*
verbs
;
...
...
dlls/msi/package.c
View file @
0c49c1c4
...
...
@@ -389,6 +389,7 @@ MSIPACKAGE *MSI_CreatePackage( MSIDATABASE *db )
list_init
(
&
package
->
appids
);
list_init
(
&
package
->
classes
);
list_init
(
&
package
->
mimes
);
list_init
(
&
package
->
extensions
);
/* OK, here is where we do a slew of things to the database to
* prep for all that is to come as a package */
...
...
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