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
afb98a38
Commit
afb98a38
authored
Aug 05, 2015
by
Hans Leidekker
Committed by
Alexandre Julliard
Aug 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netprofm: Create a connection point object for INetworkConnectionEvents.
parent
2655ca25
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
1 deletion
+28
-1
list.c
dlls/netprofm/list.c
+2
-1
list.c
dlls/netprofm/tests/list.c
+4
-0
netlistmgr.idl
include/netlistmgr.idl
+22
-0
No files found.
dlls/netprofm/list.c
View file @
afb98a38
...
...
@@ -551,7 +551,8 @@ static HRESULT WINAPI ConnectionPointContainer_FindConnectionPoint(IConnectionPo
return
E_POINTER
;
if
(
IsEqualGUID
(
riid
,
&
IID_INetworkListManagerEvents
)
||
IsEqualGUID
(
riid
,
&
IID_INetworkCostManagerEvents
))
IsEqualGUID
(
riid
,
&
IID_INetworkCostManagerEvents
)
||
IsEqualGUID
(
riid
,
&
IID_INetworkConnectionEvents
))
return
connection_point_create
(
cp
,
riid
,
iface
);
FIXME
(
"interface %s not implemented
\n
"
,
debugstr_guid
(
riid
)
);
...
...
dlls/netprofm/tests/list.c
View file @
afb98a38
...
...
@@ -116,6 +116,10 @@ static void test_INetworkListManager( void )
ok
(
hr
==
S_OK
||
hr
==
CO_E_FAILEDTOIMPERSONATE
,
"got %08x
\n
"
,
hr
);
if
(
hr
==
S_OK
)
IConnectionPoint_Release
(
pt
);
hr
=
IConnectionPointContainer_FindConnectionPoint
(
cpc
,
&
IID_INetworkConnectionEvents
,
&
pt
);
ok
(
hr
==
S_OK
||
hr
==
CO_E_FAILEDTOIMPERSONATE
,
"got %08x
\n
"
,
hr
);
if
(
hr
==
S_OK
)
IConnectionPoint_Release
(
pt
);
IConnectionPointContainer_Release
(
cpc
);
INetworkListManager_Release
(
mgr
);
}
...
...
include/netlistmgr.idl
View file @
afb98a38
...
...
@@ -175,3 +175,25 @@ interface INetworkListManagerEvents : IUnknown
HRESULT
ConnectivityChanged
(
[
in
]
NLM_CONNECTIVITY
newConnectivity
)
;
}
[
object
,
oleautomation
,
pointer_default
(
unique
),
uuid
(
dcb00007
-
570
f
-
4
a9b
-
8
d69
-
199
fdba5723b
)
]
interface
INetworkConnectionEvents
:
IUnknown
{
typedef
enum
NLM_CONNECTION_PROPERTY_CHANGE
{
NLM_CONNECTION_PROPERTY_CHANGE_AUTHENTICATION
=
1
}
NLM_CONNECTION_PROPERTY_CHANGE
;
HRESULT
NetworkConnectionConnectivityChanged
(
[
in
]
GUID
connectionId
,
[
in
]
NLM_CONNECTIVITY
newConnectivity
)
;
HRESULT
NetworkConnectionPropertyChanged
(
[
in
]
GUID
connectionId
,
[
in
]
NLM_CONNECTION_PROPERTY_CHANGE
flags
)
;
}
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