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
ab7a7071
Commit
ab7a7071
authored
Sep 17, 2014
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Sep 17, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hnetcfg: Add typeinfo support to INetFwOpenPort.
parent
fe802040
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
8 deletions
+30
-8
apps.c
dlls/hnetcfg/apps.c
+1
-0
hnetcfg_private.h
dlls/hnetcfg/hnetcfg_private.h
+1
-0
port.c
dlls/hnetcfg/port.c
+28
-8
No files found.
dlls/hnetcfg/apps.c
View file @
ab7a7071
...
...
@@ -108,6 +108,7 @@ static REFIID tid_id[] =
&
IID_INetFwAuthorizedApplication
,
&
IID_INetFwAuthorizedApplications
,
&
IID_INetFwMgr
,
&
IID_INetFwOpenPort
,
&
IID_INetFwPolicy
,
&
IID_INetFwProfile
};
...
...
dlls/hnetcfg/hnetcfg_private.h
View file @
ab7a7071
...
...
@@ -21,6 +21,7 @@ enum type_id
INetFwAuthorizedApplication_tid
,
INetFwAuthorizedApplications_tid
,
INetFwMgr_tid
,
INetFwOpenPort_tid
,
INetFwPolicy_tid
,
INetFwProfile_tid
,
last_tid
...
...
dlls/hnetcfg/port.c
View file @
ab7a7071
...
...
@@ -95,8 +95,9 @@ static HRESULT WINAPI fw_port_GetTypeInfoCount(
{
fw_port
*
This
=
impl_from_INetFwOpenPort
(
iface
);
FIXME
(
"%p %p
\n
"
,
This
,
pctinfo
);
return
E_NOTIMPL
;
TRACE
(
"%p %p
\n
"
,
This
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
}
static
HRESULT
WINAPI
fw_port_GetTypeInfo
(
...
...
@@ -107,8 +108,8 @@ static HRESULT WINAPI fw_port_GetTypeInfo(
{
fw_port
*
This
=
impl_from_INetFwOpenPort
(
iface
);
FIXM
E
(
"%p %u %u %p
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
return
E_NOTIMPL
;
TRAC
E
(
"%p %u %u %p
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
return
get_typeinfo
(
INetFwOpenPort_tid
,
ppTInfo
)
;
}
static
HRESULT
WINAPI
fw_port_GetIDsOfNames
(
...
...
@@ -120,9 +121,18 @@ static HRESULT WINAPI fw_port_GetIDsOfNames(
DISPID
*
rgDispId
)
{
fw_port
*
This
=
impl_from_INetFwOpenPort
(
iface
);
ITypeInfo
*
typeinfo
;
HRESULT
hr
;
FIXME
(
"%p %s %p %u %u %p
\n
"
,
This
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
lcid
,
rgDispId
);
return
E_NOTIMPL
;
TRACE
(
"%p %s %p %u %u %p
\n
"
,
This
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
lcid
,
rgDispId
);
hr
=
get_typeinfo
(
INetFwOpenPort_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_GetIDsOfNames
(
typeinfo
,
rgszNames
,
cNames
,
rgDispId
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
}
static
HRESULT
WINAPI
fw_port_Invoke
(
...
...
@@ -137,10 +147,20 @@ static HRESULT WINAPI fw_port_Invoke(
UINT
*
puArgErr
)
{
fw_port
*
This
=
impl_from_INetFwOpenPort
(
iface
);
ITypeInfo
*
typeinfo
;
HRESULT
hr
;
FIXM
E
(
"%p %d %s %d %d %p %p %p %p
\n
"
,
This
,
dispIdMember
,
debugstr_guid
(
riid
),
TRAC
E
(
"%p %d %s %d %d %p %p %p %p
\n
"
,
This
,
dispIdMember
,
debugstr_guid
(
riid
),
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
return
E_NOTIMPL
;
hr
=
get_typeinfo
(
INetFwOpenPort_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
This
->
INetFwOpenPort_iface
,
dispIdMember
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
}
static
HRESULT
WINAPI
fw_port_get_Name
(
...
...
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