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;
...@@ -232,6 +234,8 @@ typedef struct tagMSIPACKAGE ...@@ -232,6 +234,8 @@ typedef struct tagMSIPACKAGE
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