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
1c4350ac
Commit
1c4350ac
authored
Oct 26, 2020
by
Gijs Vermeulen
Committed by
Alexandre Julliard
Oct 26, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add INetworkEvents and some enums to netlistmgr.idl.
Signed-off-by:
Gijs Vermeulen
<
gijsvrm@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
026ccc44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
0 deletions
+48
-0
netlistmgr.idl
include/netlistmgr.idl
+48
-0
No files found.
include/netlistmgr.idl
View file @
1c4350ac
...
...
@@ -27,10 +27,26 @@ interface IEnumNetworks;
interface
IEnumNetworkConnections
;
interface
INetwork
;
interface
INetworkConnection
;
interface
INetworkConnectionEvents
;
interface
INetworkCostManager
;
interface
INetworkEvents
;
interface
INetworkListManager
;
interface
INetworkListManagerEvents
;
typedef
[
v1_enum
]
enum
NLM_NETWORK_CLASS
{
NLM_NETWORK_IDENTIFYING
=
0
x01
,
NLM_NETWORK_IDENTIFIED
=
0
x02
,
NLM_NETWORK_UNIDENTIFIED
=
0
x03
}
NLM_NETWORK_CLASS
;
typedef
[
v1_enum
]
enum
NLM_INTERNET_CONNECTIVITY
{
NLM_INTERNET_CONNECTIVITY_WEBHIJACK
=
0
x01
,
NLM_INTERNET_CONNECTIVITY_PROXIED
=
0
x02
,
NLM_INTERNET_CONNECTIVITY_CORPORATE
=
0
x04
}
NLM_INTERNET_CONNECTIVITY
;
typedef
[
v1_enum
]
enum
NLM_CONNECTIVITY
{
NLM_CONNECTIVITY_DISCONNECTED
=
0
x0000
,
...
...
@@ -390,3 +406,35 @@ interface INetwork : IDispatch
HRESULT
SetCategory
(
[
in
]
NLM_NETWORK_CATEGORY
NewCategory
)
;
}
[
object
,
oleautomation
,
pointer_default
(
unique
),
uuid
(
dcb00004
-
570
f
-
4
a9b
-
8
d69
-
199
fdba5723b
)
]
interface
INetworkEvents
:
IUnknown
{
typedef
enum
NLM_NETWORK_PROPERTY_CHANGE
{
NLM_NETWORK_PROPERTY_CHANGE_CONNECTION
=
0
x01
,
NLM_NETWORK_PROPERTY_CHANGE_DESCRIPTION
=
0
x02
,
NLM_NETWORK_PROPERTY_CHANGE_NAME
=
0
x04
,
NLM_NETWORK_PROPERTY_CHANGE_ICON
=
0
x08
,
NLM_NETWORK_PROPERTY_CHANGE_CATEGORY_VALUE
=
0
x10
}
NLM_NETWORK_PROPERTY_CHANGE
;
HRESULT
NetworkAdded
(
[
in
]
GUID
networkId
)
;
HRESULT
NetworkDeleted
(
[
in
]
GUID
networkId
)
;
HRESULT
NetworkConnectivityChanged
(
[
in
]
GUID
networkId
,
[
in
]
NLM_CONNECTIVITY
newConnectivity
)
;
HRESULT
NetworkPropertyChanged
(
[
in
]
GUID
networkId
,
[
in
]
NLM_NETWORK_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