Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
d7119f2b
Commit
d7119f2b
authored
Nov 26, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Remove WINAPI on static functions where not needed.
parent
c232cf10
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
13 deletions
+13
-13
automation.c
dlls/msi/automation.c
+1
-1
custom.c
dlls/msi/custom.c
+3
-3
install.c
dlls/msi/install.c
+2
-2
msi.c
dlls/msi/msi.c
+6
-6
registry.c
dlls/msi/registry.c
+1
-1
No files found.
dlls/msi/automation.c
View file @
d7119f2b
...
@@ -708,7 +708,7 @@ static const struct IEnumVARIANTVtbl ListEnumerator_Vtbl =
...
@@ -708,7 +708,7 @@ static const struct IEnumVARIANTVtbl ListEnumerator_Vtbl =
/* Helper function that copies a passed parameter instead of using VariantChangeType like the actual DispGetParam.
/* Helper function that copies a passed parameter instead of using VariantChangeType like the actual DispGetParam.
This function is only for VARIANT type parameters that have several types that cannot be properly discriminated
This function is only for VARIANT type parameters that have several types that cannot be properly discriminated
using DispGetParam/VariantChangeType. */
using DispGetParam/VariantChangeType. */
static
HRESULT
WINAPI
DispGetParam_CopyOnly
(
static
HRESULT
DispGetParam_CopyOnly
(
DISPPARAMS
*
pdispparams
,
/* [in] Parameter list */
DISPPARAMS
*
pdispparams
,
/* [in] Parameter list */
UINT
*
position
,
/* [in] Position of parameter to copy in pdispparams; on return will contain calculated position */
UINT
*
position
,
/* [in] Position of parameter to copy in pdispparams; on return will contain calculated position */
VARIANT
*
pvarResult
)
/* [out] Destination for resulting variant */
VARIANT
*
pvarResult
)
/* [out] Destination for resulting variant */
...
...
dlls/msi/custom.c
View file @
d7119f2b
...
@@ -659,7 +659,7 @@ static UINT get_action_info( const GUID *guid, INT *type, MSIHANDLE *handle,
...
@@ -659,7 +659,7 @@ static UINT get_action_info( const GUID *guid, INT *type, MSIHANDLE *handle,
return
ERROR_SUCCESS
;
return
ERROR_SUCCESS
;
}
}
static
DWORD
WINAPI
ACTION_CallDllFunction
(
const
GUID
*
guid
)
static
DWORD
ACTION_CallDllFunction
(
const
GUID
*
guid
)
{
{
MsiCustomActionEntryPoint
fn
;
MsiCustomActionEntryPoint
fn
;
MSIHANDLE
hPackage
,
handle
;
MSIHANDLE
hPackage
,
handle
;
...
@@ -744,7 +744,7 @@ static DWORD WINAPI DllThread( LPVOID arg )
...
@@ -744,7 +744,7 @@ static DWORD WINAPI DllThread( LPVOID arg )
return
rc
;
return
rc
;
}
}
static
DWORD
WINAPI
ACTION_CAInstallPackage
(
const
GUID
*
guid
)
static
DWORD
ACTION_CAInstallPackage
(
const
GUID
*
guid
)
{
{
msi_custom_action_info
*
info
;
msi_custom_action_info
*
info
;
UINT
r
=
ERROR_FUNCTION_FAILED
;
UINT
r
=
ERROR_FUNCTION_FAILED
;
...
@@ -1147,7 +1147,7 @@ static UINT HANDLE_CustomType34(MSIPACKAGE *package, LPCWSTR source,
...
@@ -1147,7 +1147,7 @@ static UINT HANDLE_CustomType34(MSIPACKAGE *package, LPCWSTR source,
return
wait_process_handle
(
package
,
type
,
info
.
hProcess
,
action
);
return
wait_process_handle
(
package
,
type
,
info
.
hProcess
,
action
);
}
}
static
DWORD
WINAPI
ACTION_CallScript
(
const
GUID
*
guid
)
static
DWORD
ACTION_CallScript
(
const
GUID
*
guid
)
{
{
msi_custom_action_info
*
info
;
msi_custom_action_info
*
info
;
MSIHANDLE
hPackage
;
MSIHANDLE
hPackage
;
...
...
dlls/msi/install.c
View file @
d7119f2b
...
@@ -215,8 +215,8 @@ UINT msi_strcpy_to_awstring( LPCWSTR str, awstring *awbuf, DWORD *sz )
...
@@ -215,8 +215,8 @@ UINT msi_strcpy_to_awstring( LPCWSTR str, awstring *awbuf, DWORD *sz )
/***********************************************************************
/***********************************************************************
* MsiGetTargetPath (internal)
* MsiGetTargetPath (internal)
*/
*/
static
UINT
WINAPI
MSI_GetTargetPath
(
MSIHANDLE
hInstall
,
LPCWSTR
szFolder
,
static
UINT
MSI_GetTargetPath
(
MSIHANDLE
hInstall
,
LPCWSTR
szFolder
,
awstring
*
szPathBuf
,
LPDWORD
pcchPathBuf
)
awstring
*
szPathBuf
,
LPDWORD
pcchPathBuf
)
{
{
MSIPACKAGE
*
package
;
MSIPACKAGE
*
package
;
LPWSTR
path
;
LPWSTR
path
;
...
...
dlls/msi/msi.c
View file @
d7119f2b
...
@@ -690,8 +690,8 @@ static LPWSTR msi_reg_get_value(HKEY hkey, LPCWSTR name, DWORD *type)
...
@@ -690,8 +690,8 @@ static LPWSTR msi_reg_get_value(HKEY hkey, LPCWSTR name, DWORD *type)
return
strdupW
(
temp
);
return
strdupW
(
temp
);
}
}
static
UINT
WINAPI
MSI_GetProductInfo
(
LPCWSTR
szProduct
,
LPCWSTR
szAttribute
,
static
UINT
MSI_GetProductInfo
(
LPCWSTR
szProduct
,
LPCWSTR
szAttribute
,
awstring
*
szValue
,
LPDWORD
pcchValueBuf
)
awstring
*
szValue
,
LPDWORD
pcchValueBuf
)
{
{
UINT
r
=
ERROR_UNKNOWN_PROPERTY
;
UINT
r
=
ERROR_UNKNOWN_PROPERTY
;
HKEY
prodkey
,
userdata
,
source
;
HKEY
prodkey
,
userdata
,
source
;
...
@@ -1748,8 +1748,8 @@ UINT WINAPI MsiVerifyPackageW( LPCWSTR szPackage )
...
@@ -1748,8 +1748,8 @@ UINT WINAPI MsiVerifyPackageW( LPCWSTR szPackage )
return
r
;
return
r
;
}
}
static
INSTALLSTATE
WINAPI
MSI_GetComponentPath
(
LPCWSTR
szProduct
,
LPCWSTR
szComponent
,
static
INSTALLSTATE
MSI_GetComponentPath
(
LPCWSTR
szProduct
,
LPCWSTR
szComponent
,
awstring
*
lpPathBuf
,
LPDWORD
pcchBuf
)
awstring
*
lpPathBuf
,
LPDWORD
pcchBuf
)
{
{
WCHAR
squished_pc
[
GUID_SIZE
];
WCHAR
squished_pc
[
GUID_SIZE
];
WCHAR
squished_comp
[
GUID_SIZE
];
WCHAR
squished_comp
[
GUID_SIZE
];
...
@@ -2292,7 +2292,7 @@ INSTALLSTATE WINAPI MsiUseFeatureA( LPCSTR szProduct, LPCSTR szFeature )
...
@@ -2292,7 +2292,7 @@ INSTALLSTATE WINAPI MsiUseFeatureA( LPCSTR szProduct, LPCSTR szFeature )
/***********************************************************************
/***********************************************************************
* MSI_ProvideQualifiedComponentEx [internal]
* MSI_ProvideQualifiedComponentEx [internal]
*/
*/
static
UINT
WINAPI
MSI_ProvideQualifiedComponentEx
(
LPCWSTR
szComponent
,
static
UINT
MSI_ProvideQualifiedComponentEx
(
LPCWSTR
szComponent
,
LPCWSTR
szQualifier
,
DWORD
dwInstallMode
,
LPCWSTR
szProduct
,
LPCWSTR
szQualifier
,
DWORD
dwInstallMode
,
LPCWSTR
szProduct
,
DWORD
Unused1
,
DWORD
Unused2
,
awstring
*
lpPathBuf
,
DWORD
Unused1
,
DWORD
Unused2
,
awstring
*
lpPathBuf
,
LPDWORD
pcchPathBuf
)
LPDWORD
pcchPathBuf
)
...
@@ -2417,7 +2417,7 @@ UINT WINAPI MsiProvideQualifiedComponentA( LPCSTR szComponent,
...
@@ -2417,7 +2417,7 @@ UINT WINAPI MsiProvideQualifiedComponentA( LPCSTR szComponent,
/***********************************************************************
/***********************************************************************
* MSI_GetUserInfo [internal]
* MSI_GetUserInfo [internal]
*/
*/
static
USERINFOSTATE
WINAPI
MSI_GetUserInfo
(
LPCWSTR
szProduct
,
static
USERINFOSTATE
MSI_GetUserInfo
(
LPCWSTR
szProduct
,
awstring
*
lpUserNameBuf
,
LPDWORD
pcchUserNameBuf
,
awstring
*
lpUserNameBuf
,
LPDWORD
pcchUserNameBuf
,
awstring
*
lpOrgNameBuf
,
LPDWORD
pcchOrgNameBuf
,
awstring
*
lpOrgNameBuf
,
LPDWORD
pcchOrgNameBuf
,
awstring
*
lpSerialBuf
,
LPDWORD
pcchSerialBuf
)
awstring
*
lpSerialBuf
,
LPDWORD
pcchSerialBuf
)
...
...
dlls/msi/registry.c
View file @
d7119f2b
...
@@ -1436,7 +1436,7 @@ UINT WINAPI MsiEnumClientsW(LPCWSTR szComponent, DWORD index, LPWSTR szProduct)
...
@@ -1436,7 +1436,7 @@ UINT WINAPI MsiEnumClientsW(LPCWSTR szComponent, DWORD index, LPWSTR szProduct)
return
r
;
return
r
;
}
}
static
UINT
WINAPI
MSI_EnumComponentQualifiers
(
LPCWSTR
szComponent
,
DWORD
iIndex
,
static
UINT
MSI_EnumComponentQualifiers
(
LPCWSTR
szComponent
,
DWORD
iIndex
,
awstring
*
lpQualBuf
,
LPDWORD
pcchQual
,
awstring
*
lpQualBuf
,
LPDWORD
pcchQual
,
awstring
*
lpAppBuf
,
LPDWORD
pcchAppBuf
)
awstring
*
lpAppBuf
,
LPDWORD
pcchAppBuf
)
{
{
...
...
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