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
1ceb25ba
Commit
1ceb25ba
authored
Sep 06, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Sep 06, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert progids to a standard list.
parent
d4f7f06f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
16 deletions
+20
-16
action.h
dlls/msi/action.h
+10
-7
classes.c
dlls/msi/classes.c
+0
-0
helpers.c
dlls/msi/helpers.c
+8
-7
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 @
1ceb25ba
...
...
@@ -131,13 +131,15 @@ typedef struct tagMSIAPPID
BOOL
RunAsInteractiveUser
;
}
MSIAPPID
;
typedef
struct
tagMSIPROGID
MSIPROGID
;
typedef
struct
tagMSICLASS
{
struct
list
entry
;
WCHAR
CLSID
[
IDENTIFIER_SIZE
];
/* Primary Key */
WCHAR
Context
[
IDENTIFIER_SIZE
];
/* Primary Key */
MSICOMPONENT
*
Component
;
INT
ProgIDIndex
;
MSIPROGID
*
ProgID
;
LPWSTR
ProgIDText
;
LPWSTR
Description
;
MSIAPPID
*
AppID
;
...
...
@@ -159,7 +161,7 @@ typedef struct tagMSIEXTENSION
struct
list
entry
;
WCHAR
Extension
[
256
];
/* Primary Key */
MSICOMPONENT
*
Component
;
INT
ProgIDIndex
;
MSIPROGID
*
ProgID
;
LPWSTR
ProgIDText
;
MSIMIME
*
Mime
;
MSIFEATURE
*
Feature
;
...
...
@@ -168,18 +170,19 @@ typedef struct tagMSIEXTENSION
struct
list
verbs
;
}
MSIEXTENSION
;
typedef
struct
tagMSIPROGID
struct
tagMSIPROGID
{
struct
list
entry
;
LPWSTR
ProgID
;
/* Primary Key */
INT
ParentIndex
;
MSIPROGID
*
Parent
;
MSICLASS
*
Class
;
LPWSTR
Description
;
LPWSTR
IconPath
;
/* not in the table, set during installation */
BOOL
InstallMe
;
INT
CurVerIndex
;
INT
VersionIndIndex
;
}
MSIPROGID
;
MSIPROGID
*
CurVer
;
MSIPROGID
*
VersionInd
;
};
typedef
struct
tagMSIVERB
{
...
...
dlls/msi/classes.c
View file @
1ceb25ba
This diff is collapsed.
Click to expand it.
dlls/msi/helpers.c
View file @
1ceb25ba
...
...
@@ -528,15 +528,16 @@ void ACTION_free_package_structures( MSIPACKAGE* package)
free_extension
(
ext
);
}
for
(
i
=
0
;
i
<
package
->
loaded_progids
;
i
++
)
LIST_FOR_EACH_SAFE
(
item
,
cursor
,
&
package
->
progids
)
{
HeapFree
(
GetProcessHeap
(),
0
,
package
->
progids
[
i
].
ProgID
);
HeapFree
(
GetProcessHeap
(),
0
,
package
->
progids
[
i
].
Description
);
HeapFree
(
GetProcessHeap
(),
0
,
package
->
progids
[
i
].
IconPath
);
}
MSIPROGID
*
progid
=
LIST_ENTRY
(
item
,
MSIPROGID
,
entry
);
if
(
package
->
progids
&&
package
->
loaded_progids
>
0
)
HeapFree
(
GetProcessHeap
(),
0
,
package
->
progids
);
list_remove
(
&
progid
->
entry
);
HeapFree
(
GetProcessHeap
(),
0
,
progid
->
ProgID
);
HeapFree
(
GetProcessHeap
(),
0
,
progid
->
Description
);
HeapFree
(
GetProcessHeap
(),
0
,
progid
->
IconPath
);
HeapFree
(
GetProcessHeap
(),
0
,
progid
);
}
LIST_FOR_EACH_SAFE
(
item
,
cursor
,
&
package
->
mimes
)
{
...
...
dlls/msi/msipriv.h
View file @
1ceb25ba
...
...
@@ -194,8 +194,7 @@ typedef struct tagMSIPACKAGE
struct
list
classes
;
struct
list
extensions
;
struct
tagMSIPROGID
*
progids
;
UINT
loaded_progids
;
struct
list
progids
;
struct
list
mimes
;
struct
list
appids
;
...
...
dlls/msi/package.c
View file @
1ceb25ba
...
...
@@ -390,6 +390,7 @@ MSIPACKAGE *MSI_CreatePackage( MSIDATABASE *db )
list_init
(
&
package
->
classes
);
list_init
(
&
package
->
mimes
);
list_init
(
&
package
->
extensions
);
list_init
(
&
package
->
progids
);
/* 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