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
b7a67eb3
Commit
b7a67eb3
authored
Nov 09, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hnetcfg: Store port number for INetFwOpenPort.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
341ddeb3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
port.c
dlls/hnetcfg/port.c
+5
-2
No files found.
dlls/hnetcfg/port.c
View file @
b7a67eb3
...
@@ -40,6 +40,7 @@ typedef struct fw_port
...
@@ -40,6 +40,7 @@ typedef struct fw_port
LONG
refs
;
LONG
refs
;
BSTR
name
;
BSTR
name
;
NET_FW_IP_PROTOCOL
protocol
;
NET_FW_IP_PROTOCOL
protocol
;
LONG
port
;
}
fw_port
;
}
fw_port
;
static
inline
fw_port
*
impl_from_INetFwOpenPort
(
INetFwOpenPort
*
iface
)
static
inline
fw_port
*
impl_from_INetFwOpenPort
(
INetFwOpenPort
*
iface
)
...
@@ -253,8 +254,9 @@ static HRESULT WINAPI fw_port_put_Port(
...
@@ -253,8 +254,9 @@ static HRESULT WINAPI fw_port_put_Port(
{
{
fw_port
*
This
=
impl_from_INetFwOpenPort
(
iface
);
fw_port
*
This
=
impl_from_INetFwOpenPort
(
iface
);
FIXME
(
"%p %d
\n
"
,
This
,
portNumber
);
TRACE
(
"%p %d
\n
"
,
This
,
portNumber
);
return
E_NOTIMPL
;
This
->
port
=
portNumber
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
fw_port_get_Scope
(
static
HRESULT
WINAPI
fw_port_get_Scope
(
...
@@ -368,6 +370,7 @@ HRESULT NetFwOpenPort_create( IUnknown *pUnkOuter, LPVOID *ppObj )
...
@@ -368,6 +370,7 @@ HRESULT NetFwOpenPort_create( IUnknown *pUnkOuter, LPVOID *ppObj )
fp
->
refs
=
1
;
fp
->
refs
=
1
;
fp
->
name
=
NULL
;
fp
->
name
=
NULL
;
fp
->
protocol
=
NET_FW_IP_PROTOCOL_TCP
;
fp
->
protocol
=
NET_FW_IP_PROTOCOL_TCP
;
fp
->
port
=
0
;
*
ppObj
=
&
fp
->
INetFwOpenPort_iface
;
*
ppObj
=
&
fp
->
INetFwOpenPort_iface
;
...
...
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