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
851e4779
Commit
851e4779
authored
Dec 10, 2009
by
James Hawkins
Committed by
Alexandre Julliard
Dec 11, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Refactor the remaining Installer object stub methods into respective functions.
parent
dc088975
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
104 additions
and
42 deletions
+104
-42
automation.c
dlls/msi/automation.c
+104
-42
No files found.
dlls/msi/automation.c
View file @
851e4779
...
...
@@ -1748,6 +1748,96 @@ static HRESULT InstallerImpl_UILevel(WORD wFlags,
return
S_OK
;
}
static
HRESULT
InstallerImpl_EnableLog
(
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
if
(
!
(
wFlags
&
DISPATCH_METHOD
))
return
DISP_E_MEMBERNOTFOUND
;
FIXME
(
"
\n
"
);
VariantInit
(
pVarResult
);
return
S_OK
;
}
static
HRESULT
InstallerImpl_LastErrorRecord
(
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
if
(
!
(
wFlags
&
DISPATCH_METHOD
))
return
DISP_E_MEMBERNOTFOUND
;
FIXME
(
"
\n
"
);
VariantInit
(
pVarResult
);
return
S_OK
;
}
static
HRESULT
InstallerImpl_Environment
(
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
if
(
!
(
wFlags
&
DISPATCH_METHOD
))
return
DISP_E_MEMBERNOTFOUND
;
FIXME
(
"
\n
"
);
VariantInit
(
pVarResult
);
return
S_OK
;
}
static
HRESULT
InstallerImpl_FileAttributes
(
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
if
(
!
(
wFlags
&
DISPATCH_METHOD
))
return
DISP_E_MEMBERNOTFOUND
;
FIXME
(
"
\n
"
);
VariantInit
(
pVarResult
);
return
S_OK
;
}
static
HRESULT
InstallerImpl_FileSize
(
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
if
(
!
(
wFlags
&
DISPATCH_METHOD
))
return
DISP_E_MEMBERNOTFOUND
;
FIXME
(
"
\n
"
);
VariantInit
(
pVarResult
);
return
S_OK
;
}
static
HRESULT
InstallerImpl_FileVersion
(
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
if
(
!
(
wFlags
&
DISPATCH_METHOD
))
return
DISP_E_MEMBERNOTFOUND
;
FIXME
(
"
\n
"
);
VariantInit
(
pVarResult
);
return
S_OK
;
}
static
HRESULT
WINAPI
InstallerImpl_Invoke
(
AutomationObject
*
This
,
DISPID
dispIdMember
,
...
...
@@ -1798,13 +1888,8 @@ static HRESULT WINAPI InstallerImpl_Invoke(
pVarResult
,
pExcepInfo
,
puArgErr
);
case
DISPID_INSTALLER_ENABLELOG
:
if
(
wFlags
&
DISPATCH_METHOD
)
{
VariantInit
(
pVarResult
);
FIXME
(
"Unhandled method: EnableLog"
);
}
else
return
DISP_E_MEMBERNOTFOUND
;
break
;
return
InstallerImpl_EnableLog
(
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
case
DISPID_INSTALLER_INSTALLPRODUCT
:
if
(
wFlags
&
DISPATCH_METHOD
)
...
...
@@ -1849,13 +1934,9 @@ static HRESULT WINAPI InstallerImpl_Invoke(
break
;
case
DISPID_INSTALLER_LASTERRORRECORD
:
if
(
wFlags
&
DISPATCH_METHOD
)
{
VariantInit
(
pVarResult
);
FIXME
(
"Unhandled method: LastErrorRecord"
);
}
else
return
DISP_E_MEMBERNOTFOUND
;
break
;
return
InstallerImpl_LastErrorRecord
(
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
case
DISPID_INSTALLER_REGISTRYVALUE
:
if
(
wFlags
&
DISPATCH_METHOD
)
{
...
...
@@ -1952,40 +2033,21 @@ static HRESULT WINAPI InstallerImpl_Invoke(
break
;
case
DISPID_INSTALLER_ENVIRONMENT
:
if
(
wFlags
&
DISPATCH_PROPERTYGET
||
wFlags
&
DISPATCH_PROPERTYPUT
)
{
VariantInit
(
pVarResult
);
FIXME
(
"Unhandled property: Environment"
);
}
else
return
DISP_E_MEMBERNOTFOUND
;
break
;
return
InstallerImpl_Environment
(
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
case
DISPID_INSTALLER_FILEATTRIBUTES
:
if
(
wFlags
&
DISPATCH_METHOD
)
{
VariantInit
(
pVarResult
);
FIXME
(
"Unhandled method: FileAttributes"
);
}
else
return
DISP_E_MEMBERNOTFOUND
;
break
;
return
InstallerImpl_FileAttributes
(
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
case
DISPID_INSTALLER_FILESIZE
:
if
(
wFlags
&
DISPATCH_METHOD
)
{
VariantInit
(
pVarResult
);
FIXME
(
"Unhandled method: FileSize"
);
}
else
return
DISP_E_MEMBERNOTFOUND
;
break
;
return
InstallerImpl_FileSize
(
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
case
DISPID_INSTALLER_FILEVERSION
:
if
(
wFlags
&
DISPATCH_METHOD
)
{
VariantInit
(
pVarResult
);
FIXME
(
"Unhandled method: FileVersion"
);
}
else
return
DISP_E_MEMBERNOTFOUND
;
break
;
return
InstallerImpl_FileVersion
(
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
case
DISPID_INSTALLER_PRODUCTSTATE
:
if
(
wFlags
&
DISPATCH_PROPERTYGET
)
{
...
...
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