mirror of
https://github.com/reactos/wine.git
synced 2025-02-13 16:59:37 +00:00
msi: Make some variables static and/or const.
This commit is contained in:
parent
654c02017b
commit
b79a53e959
@ -113,7 +113,7 @@ static const WCHAR szForceReboot[] =
|
|||||||
{'F','o','r','c','e','R','e','b','o','o','t',0};
|
{'F','o','r','c','e','R','e','b','o','o','t',0};
|
||||||
static const WCHAR szResolveSource[] =
|
static const WCHAR szResolveSource[] =
|
||||||
{'R','e','s','o','l','v','e','S','o','u','r','c','e',0};
|
{'R','e','s','o','l','v','e','S','o','u','r','c','e',0};
|
||||||
const WCHAR szAppSearch[] =
|
static const WCHAR szAppSearch[] =
|
||||||
{'A','p','p','S','e','a','r','c','h',0};
|
{'A','p','p','S','e','a','r','c','h',0};
|
||||||
static const WCHAR szAllocateRegistrySpace[] =
|
static const WCHAR szAllocateRegistrySpace[] =
|
||||||
{'A','l','l','o','c','a','t','e','R','e','g','i','s','t','r','y',
|
{'A','l','l','o','c','a','t','e','R','e','g','i','s','t','r','y',
|
||||||
|
@ -106,10 +106,10 @@ typedef struct
|
|||||||
LPWSTR propval;
|
LPWSTR propval;
|
||||||
} radio_button_group_descr;
|
} radio_button_group_descr;
|
||||||
|
|
||||||
const WCHAR szMsiDialogClass[] = {
|
static const WCHAR szMsiDialogClass[] = {
|
||||||
'M','s','i','D','i','a','l','o','g','C','l','o','s','e','C','l','a','s','s',0
|
'M','s','i','D','i','a','l','o','g','C','l','o','s','e','C','l','a','s','s',0
|
||||||
};
|
};
|
||||||
const WCHAR szMsiHiddenWindow[] = {
|
static const WCHAR szMsiHiddenWindow[] = {
|
||||||
'M','s','i','H','i','d','d','e','n','W','i','n','d','o','w',0 };
|
'M','s','i','H','i','d','d','e','n','W','i','n','d','o','w',0 };
|
||||||
static const WCHAR szStatic[] = { 'S','t','a','t','i','c',0 };
|
static const WCHAR szStatic[] = { 'S','t','a','t','i','c',0 };
|
||||||
static const WCHAR szButton[] = { 'B','U','T','T','O','N', 0 };
|
static const WCHAR szButton[] = { 'B','U','T','T','O','N', 0 };
|
||||||
@ -1675,7 +1675,7 @@ static UINT msi_dialog_selection_tree( msi_dialog *dialog, MSIRECORD *rec )
|
|||||||
return ERROR_SUCCESS;
|
return ERROR_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct control_handler msi_dialog_handler[] =
|
static const struct control_handler msi_dialog_handler[] =
|
||||||
{
|
{
|
||||||
{ szText, msi_dialog_text_control },
|
{ szText, msi_dialog_text_control },
|
||||||
{ szPushButton, msi_dialog_button_control },
|
{ szPushButton, msi_dialog_button_control },
|
||||||
|
@ -368,7 +368,7 @@ UINT ACTION_DialogBox( MSIPACKAGE* package, LPCWSTR szDialogName )
|
|||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct _events Events[] = {
|
static const struct _events Events[] = {
|
||||||
{ "EndDialog",ControlEvent_EndDialog },
|
{ "EndDialog",ControlEvent_EndDialog },
|
||||||
{ "NewDialog",ControlEvent_NewDialog },
|
{ "NewDialog",ControlEvent_NewDialog },
|
||||||
{ "SpawnDialog",ControlEvent_SpawnDialog },
|
{ "SpawnDialog",ControlEvent_SpawnDialog },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user