Commit a4fb1c94 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

msi: Store properties in a hash table, not the database.

Use string insensitive comparisons for property names.
parent 0de9cf4d
...@@ -201,6 +201,8 @@ struct tagMSIVIEW ...@@ -201,6 +201,8 @@ struct tagMSIVIEW
struct msi_dialog_tag; struct msi_dialog_tag;
typedef struct msi_dialog_tag msi_dialog; typedef struct msi_dialog_tag msi_dialog;
#define PROPERTY_HASH_SIZE 67
typedef struct tagMSIPACKAGE typedef struct tagMSIPACKAGE
{ {
MSIOBJECTHDR hdr; MSIOBJECTHDR hdr;
...@@ -218,7 +220,7 @@ typedef struct tagMSIPACKAGE ...@@ -218,7 +220,7 @@ typedef struct tagMSIPACKAGE
struct list progids; struct list progids;
struct list mimes; struct list mimes;
struct list appids; struct list appids;
struct tagMSISCRIPT *script; struct tagMSISCRIPT *script;
struct list RunningActions; struct list RunningActions;
...@@ -231,7 +233,9 @@ typedef struct tagMSIPACKAGE ...@@ -231,7 +233,9 @@ typedef struct tagMSIPACKAGE
LPWSTR next_dialog; LPWSTR next_dialog;
UINT WordCount; UINT WordCount;
struct list props[PROPERTY_HASH_SIZE];
struct list subscriptions; struct list subscriptions;
} MSIPACKAGE; } MSIPACKAGE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment