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
cf2a4399
Commit
cf2a4399
authored
Sep 20, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wshom.ocx: Added IWshShell3 interface stub implementation.
parent
8d7fe371
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
99 additions
and
2 deletions
+99
-2
shell.c
dlls/wshom.ocx/shell.c
+99
-2
No files found.
dlls/wshom.ocx/shell.c
View file @
cf2a4399
...
...
@@ -17,13 +17,110 @@
*/
#include "wshom_private.h"
#include "wshom.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
wshom
);
HRESULT
WINAPI
WshShellFactory_CreateInstance
(
IClassFactory
*
iface
,
IUnknown
*
outer
,
REFIID
riid
,
void
**
ppv
)
static
HRESULT
WINAPI
WshShell3_QueryInterface
(
IWshShell3
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
FIXME
(
"(%p %s %p)
\n
"
,
outer
,
debugstr_guid
(
riid
),
ppv
);
if
(
IsEqualGUID
(
riid
,
&
IID_IUnknown
))
{
TRACE
(
"(IID_IUnknown %p)
\n
"
,
ppv
);
*
ppv
=
iface
;
}
else
if
(
IsEqualGUID
(
riid
,
&
IID_IDispatch
))
{
TRACE
(
"(IID_IDispatch %p)
\n
"
,
ppv
);
*
ppv
=
iface
;
}
else
if
(
IsEqualGUID
(
riid
,
&
IID_IWshShell3
))
{
TRACE
(
"(IID_IWshShell3 %p)
\n
"
,
ppv
);
*
ppv
=
iface
;
}
else
{
FIXME
(
"Unknown iface %s
\n
"
,
debugstr_guid
(
riid
));
*
ppv
=
NULL
;
return
E_NOINTERFACE
;
}
IUnknown_AddRef
((
IUnknown
*
)
*
ppv
);
return
S_OK
;
}
static
ULONG
WINAPI
WshShell3_AddRef
(
IWshShell3
*
iface
)
{
TRACE
(
"()
\n
"
);
return
2
;
}
static
ULONG
WINAPI
WshShell3_Release
(
IWshShell3
*
iface
)
{
TRACE
(
"()
\n
"
);
return
2
;
}
static
HRESULT
WINAPI
WshShell3_GetTypeInfoCount
(
IWshShell3
*
iface
,
UINT
*
pctinfo
)
{
TRACE
(
"(%p)
\n
"
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
}
static
HRESULT
WINAPI
WshShell3_GetTypeInfo
(
IWshShell3
*
iface
,
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
{
FIXME
(
"(%u %u %p)
\n
"
,
iTInfo
,
lcid
,
ppTInfo
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WshShell3_GetIDsOfNames
(
IWshShell3
*
iface
,
REFIID
riid
,
LPOLESTR
*
rgszNames
,
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
FIXME
(
"(%s %p %u %u %p)
\n
"
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
lcid
,
rgDispId
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WshShell3_Invoke
(
IWshShell3
*
iface
,
DISPID
dispIdMember
,
REFIID
riid
,
LCID
lcid
,
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
FIXME
(
"(%d %s %d %d %p %p %p %p)
\n
"
,
dispIdMember
,
debugstr_guid
(
riid
),
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WshShell3_get_SpecialFolders
(
IWshShell3
*
iface
,
IWshCollection
**
out_Folders
)
{
FIXME
(
"(%p)
\n
"
,
out_Folders
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WshShell3_get_Environment
(
IWshShell3
*
iface
,
VARIANT
*
Type
,
IWshEnvironment
**
out_Env
)
{
FIXME
(
"(%p %p)
\n
"
,
Type
,
out_Env
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WshShell3_Run
(
IWshShell3
*
iface
,
BSTR
Command
,
VARIANT
*
WindowStyle
,
VARIANT
*
WaitOnReturn
,
int
*
out_ExitCode
)
{
FIXME
(
"(%p %p %p)
\n
"
,
WindowStyle
,
WaitOnReturn
,
out_ExitCode
);
return
E_NOTIMPL
;
}
static
const
IWshShell3Vtbl
WshShell3Vtbl
=
{
WshShell3_QueryInterface
,
WshShell3_AddRef
,
WshShell3_Release
,
WshShell3_GetTypeInfoCount
,
WshShell3_GetTypeInfo
,
WshShell3_GetIDsOfNames
,
WshShell3_Invoke
,
WshShell3_get_SpecialFolders
,
WshShell3_get_Environment
,
WshShell3_Run
};
static
IWshShell3
WshShell3
=
{
&
WshShell3Vtbl
};
HRESULT
WINAPI
WshShellFactory_CreateInstance
(
IClassFactory
*
iface
,
IUnknown
*
outer
,
REFIID
riid
,
void
**
ppv
)
{
TRACE
(
"(%p %s %p)
\n
"
,
outer
,
debugstr_guid
(
riid
),
ppv
);
return
IWshShell3_QueryInterface
(
&
WshShell3
,
riid
,
ppv
);
}
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