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
9fecdccc
Commit
9fecdccc
authored
Feb 19, 2008
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Feb 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Implemented IDispatch for IXMLDOMProcessingInstruction.
parent
4a053e66
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
8 deletions
+49
-8
pi.c
dlls/msxml3/pi.c
+49
-8
No files found.
dlls/msxml3/pi.c
View file @
9fecdccc
...
@@ -106,8 +106,13 @@ static HRESULT WINAPI dom_pi_GetTypeInfoCount(
...
@@ -106,8 +106,13 @@ static HRESULT WINAPI dom_pi_GetTypeInfoCount(
IXMLDOMProcessingInstruction
*
iface
,
IXMLDOMProcessingInstruction
*
iface
,
UINT
*
pctinfo
)
UINT
*
pctinfo
)
{
{
FIXME
(
"
\n
"
);
dom_pi
*
This
=
impl_from_IXMLDOMProcessingInstruction
(
iface
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
dom_pi_GetTypeInfo
(
static
HRESULT
WINAPI
dom_pi_GetTypeInfo
(
...
@@ -115,8 +120,14 @@ static HRESULT WINAPI dom_pi_GetTypeInfo(
...
@@ -115,8 +120,14 @@ static HRESULT WINAPI dom_pi_GetTypeInfo(
UINT
iTInfo
,
LCID
lcid
,
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
ITypeInfo
**
ppTInfo
)
{
{
FIXME
(
"
\n
"
);
dom_pi
*
This
=
impl_from_IXMLDOMProcessingInstruction
(
iface
);
return
E_NOTIMPL
;
HRESULT
hr
;
TRACE
(
"(%p)->(%u %u %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
hr
=
get_typeinfo
(
IXMLDOMProcessingInstruction_tid
,
ppTInfo
);
return
hr
;
}
}
static
HRESULT
WINAPI
dom_pi_GetIDsOfNames
(
static
HRESULT
WINAPI
dom_pi_GetIDsOfNames
(
...
@@ -124,8 +135,24 @@ static HRESULT WINAPI dom_pi_GetIDsOfNames(
...
@@ -124,8 +135,24 @@ static HRESULT WINAPI dom_pi_GetIDsOfNames(
REFIID
riid
,
LPOLESTR
*
rgszNames
,
REFIID
riid
,
LPOLESTR
*
rgszNames
,
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
{
FIXME
(
"
\n
"
);
dom_pi
*
This
=
impl_from_IXMLDOMProcessingInstruction
(
iface
);
return
E_NOTIMPL
;
ITypeInfo
*
typeinfo
;
HRESULT
hr
;
TRACE
(
"(%p)->(%s %p %u %u %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
lcid
,
rgDispId
);
if
(
!
rgszNames
||
cNames
==
0
||
!
rgDispId
)
return
E_INVALIDARG
;
hr
=
get_typeinfo
(
IXMLDOMProcessingInstruction_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_GetIDsOfNames
(
typeinfo
,
rgszNames
,
cNames
,
rgDispId
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
}
}
static
HRESULT
WINAPI
dom_pi_Invoke
(
static
HRESULT
WINAPI
dom_pi_Invoke
(
...
@@ -134,8 +161,22 @@ static HRESULT WINAPI dom_pi_Invoke(
...
@@ -134,8 +161,22 @@ static HRESULT WINAPI dom_pi_Invoke(
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
{
FIXME
(
"
\n
"
);
dom_pi
*
This
=
impl_from_IXMLDOMProcessingInstruction
(
iface
);
return
E_NOTIMPL
;
ITypeInfo
*
typeinfo
;
HRESULT
hr
;
TRACE
(
"(%p)->(%d %s %d %d %p %p %p %p)
\n
"
,
This
,
dispIdMember
,
debugstr_guid
(
riid
),
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
hr
=
get_typeinfo
(
IXMLDOMProcessingInstruction_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
(
This
->
lpVtbl
),
dispIdMember
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
}
}
static
HRESULT
WINAPI
dom_pi_get_nodeName
(
static
HRESULT
WINAPI
dom_pi_get_nodeName
(
...
...
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