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
f9acfe63
Commit
f9acfe63
authored
Jun 07, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 07, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for -Wmissing-declarations and -Wwrite-strings warnings.
parent
09b49669
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
9 deletions
+27
-9
action.c
dlls/msi/action.c
+7
-7
action.h
dlls/msi/action.h
+2
-0
msipriv.h
dlls/msi/msipriv.h
+18
-2
No files found.
dlls/msi/action.c
View file @
f9acfe63
...
...
@@ -1400,7 +1400,7 @@ static BOOL ACTION_HandleStandardAction(MSIPACKAGE *package, LPCWSTR action,
return
ret
;
}
BOOL
ACTION_HandleDialogBox
(
MSIPACKAGE
*
package
,
LPCWSTR
dialog
,
UINT
*
rc
)
static
BOOL
ACTION_HandleDialogBox
(
MSIPACKAGE
*
package
,
LPCWSTR
dialog
,
UINT
*
rc
)
{
BOOL
ret
=
FALSE
;
...
...
@@ -1412,8 +1412,8 @@ BOOL ACTION_HandleDialogBox(MSIPACKAGE *package, LPCWSTR dialog, UINT* rc)
return
ret
;
}
BOOL
ACTION_HandleCustomAction
(
MSIPACKAGE
*
package
,
LPCWSTR
action
,
UINT
*
rc
,
BOOL
force
)
static
BOOL
ACTION_HandleCustomAction
(
MSIPACKAGE
*
package
,
LPCWSTR
action
,
UINT
*
rc
,
BOOL
force
)
{
BOOL
ret
=
FALSE
;
UINT
arc
;
...
...
@@ -1993,7 +1993,7 @@ UINT schedule_action(MSIPACKAGE *package, UINT script, LPCWSTR action)
return
ERROR_SUCCESS
;
}
UINT
execute_script
(
MSIPACKAGE
*
package
,
UINT
script
)
static
UINT
execute_script
(
MSIPACKAGE
*
package
,
UINT
script
)
{
int
i
;
UINT
rc
=
ERROR_SUCCESS
;
...
...
@@ -2259,7 +2259,7 @@ LPWSTR resolve_folder(MSIPACKAGE *package, LPCWSTR name, BOOL source,
}
/* scan for and update current install states */
void
ACTION_UpdateInstallStates
(
MSIPACKAGE
*
package
)
static
void
ACTION_UpdateInstallStates
(
MSIPACKAGE
*
package
)
{
int
i
;
LPWSTR
productcode
;
...
...
@@ -4243,7 +4243,7 @@ typedef struct {
ITypeLib
*
ptLib
;
}
typelib_struct
;
BOOL
CALLBACK
Typelib_EnumResNameProc
(
HMODULE
hModule
,
LPCWSTR
lpszType
,
static
BOOL
CALLBACK
Typelib_EnumResNameProc
(
HMODULE
hModule
,
LPCWSTR
lpszType
,
LPWSTR
lpszName
,
LONG_PTR
lParam
)
{
TLIBATTR
*
attr
;
...
...
@@ -7206,7 +7206,7 @@ static LPWSTR load_ttfname_from(LPCWSTR filename)
{
int
nPos
;
LPSTR
buf
;
static
const
LP
STR
tt
=
" (TrueType)"
;
static
LPC
STR
tt
=
" (TrueType)"
;
ttRecord
.
uStringLength
=
SWAPWORD
(
ttRecord
.
uStringLength
);
ttRecord
.
uStringOffset
=
SWAPWORD
(
ttRecord
.
uStringOffset
);
...
...
dlls/msi/action.h
View file @
f9acfe63
...
...
@@ -220,3 +220,5 @@ VOID ControlEvent_FireSubscribedEvent(MSIPACKAGE *package, LPCWSTR event,
VOID
ControlEvent_CleanupSubscriptions
(
MSIPACKAGE
*
package
);
VOID
ControlEvent_SubscribeToEvent
(
MSIPACKAGE
*
package
,
LPCWSTR
event
,
LPCWSTR
control
,
LPCWSTR
attribute
);
VOID
ControlEvent_UnSubscribeToEvent
(
MSIPACKAGE
*
package
,
LPCWSTR
event
,
LPCWSTR
control
,
LPCWSTR
attribute
);
dlls/msi/msipriv.h
View file @
f9acfe63
...
...
@@ -365,8 +365,8 @@ extern UINT MSI_GetFeatureStateW( MSIPACKAGE *, LPWSTR, INSTALLSTATE *, INSTALLS
extern
UINT
WINAPI
MSI_SetFeatureStateW
(
MSIPACKAGE
*
,
LPCWSTR
,
INSTALLSTATE
);
/* for deformating */
extern
UINT
MSI_FormatRecordW
(
MSIPACKAGE
*
package
,
MSIRECORD
*
record
,
LPWSTR
buffer
,
DWORD
*
size
);
extern
UINT
MSI_FormatRecordW
(
MSIPACKAGE
*
,
MSIRECORD
*
,
LPWSTR
,
DWORD
*
);
extern
UINT
MSI_FormatRecordA
(
MSIPACKAGE
*
,
MSIRECORD
*
,
LPSTR
,
DWORD
*
);
/* registry data encoding/decoding functions */
extern
BOOL
unsquash_guid
(
LPCWSTR
in
,
LPWSTR
out
);
...
...
@@ -398,6 +398,22 @@ extern BOOL msi_dialog_register_class( void );
extern
void
msi_dialog_unregister_class
(
void
);
extern
void
msi_dialog_handle_event
(
msi_dialog
*
,
LPCWSTR
,
LPCWSTR
,
MSIRECORD
*
);
/* preview */
extern
MSIPREVIEW
*
MSI_EnableUIPreview
(
MSIDATABASE
*
);
extern
UINT
MSI_PreviewDialogW
(
MSIPREVIEW
*
,
LPCWSTR
);
/* undocumented functions */
UINT
WINAPI
MsiCreateAndVerifyInstallerDirectory
(
DWORD
);
UINT
WINAPI
MsiDecomposeDescriptorW
(
LPCWSTR
,
LPWSTR
,
LPWSTR
,
LPWSTR
,
DWORD
*
);
UINT
WINAPI
MsiDecomposeDescriptorA
(
LPCSTR
,
LPSTR
,
LPSTR
,
LPSTR
,
DWORD
*
);
LANGID
WINAPI
MsiLoadStringW
(
MSIHANDLE
,
UINT
,
LPWSTR
,
int
,
LANGID
);
LANGID
WINAPI
MsiLoadStringA
(
MSIHANDLE
,
UINT
,
LPSTR
,
int
,
LANGID
);
HRESULT
WINAPI
MSI_DllGetClassObject
(
REFCLSID
,
REFIID
,
LPVOID
*
);
HRESULT
WINAPI
MSI_DllRegisterServer
(
void
);
HRESULT
WINAPI
MSI_DllUnregisterServer
(
void
);
BOOL
WINAPI
MSI_DllCanUnloadNow
(
void
);
/* UI globals */
extern
INSTALLUILEVEL
gUILevel
;
extern
HWND
gUIhwnd
;
...
...
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