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
8e90ff68
Commit
8e90ff68
authored
Aug 27, 2015
by
Hans Leidekker
Committed by
Alexandre Julliard
Aug 27, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add missing Network List Manager declarations.
parent
f5b64c0d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
193 additions
and
0 deletions
+193
-0
netlistmgr.idl
include/netlistmgr.idl
+193
-0
No files found.
include/netlistmgr.idl
View file @
8e90ff68
...
@@ -44,6 +44,13 @@ typedef [v1_enum] enum NLM_CONNECTIVITY
...
@@ -44,6 +44,13 @@ typedef [v1_enum] enum NLM_CONNECTIVITY
NLM_CONNECTIVITY_IPV6_INTERNET
=
0
x0400
NLM_CONNECTIVITY_IPV6_INTERNET
=
0
x0400
}
NLM_CONNECTIVITY
;
}
NLM_CONNECTIVITY
;
typedef
[
v1_enum
]
enum
NLM_DOMAIN_TYPE
{
NLM_DOMAIN_TYPE_NON_DOMAIN_NETWORK
=
0
x00
,
NLM_DOMAIN_TYPE_DOMAIN_NETWORK
=
0
x01
,
NLM_DOMAIN_TYPE_DOMAIN_AUTHENTICATED
=
0
x02
}
NLM_DOMAIN_TYPE
;
typedef
[
v1_enum
]
enum
NLM_ENUM_NETWORK
typedef
[
v1_enum
]
enum
NLM_ENUM_NETWORK
{
{
NLM_ENUM_NETWORK_CONNECTED
=
0
x01
,
NLM_ENUM_NETWORK_CONNECTED
=
0
x01
,
...
@@ -112,6 +119,20 @@ interface INetworkCostManager : IUnknown
...
@@ -112,6 +119,20 @@ interface INetworkCostManager : IUnknown
[
[
object
,
object
,
pointer_default
(
unique
),
pointer_default
(
unique
),
uuid
(
dcb0000a
-
570
f
-
4
a9b
-
8
d69
-
199
fdba5723b
)
]
interface
INetworkConnectionCost
:
IUnknown
{
HRESULT
GetCost
(
[
out
]
DWORD
*
pCost
)
;
HRESULT
GetDataPlanStatus
(
[
out
]
NLM_DATAPLAN_STATUS
*
pDataPlanStatus
)
;
}
[
object
,
pointer_default
(
unique
),
uuid
(
dcb00009
-
570
f
-
4
a9b
-
8
d69
-
199
fdba5723b
)
uuid
(
dcb00009
-
570
f
-
4
a9b
-
8
d69
-
199
fdba5723b
)
]
]
interface
INetworkCostManagerEvents
:
IUnknown
interface
INetworkCostManagerEvents
:
IUnknown
...
@@ -125,6 +146,68 @@ interface INetworkCostManagerEvents : IUnknown
...
@@ -125,6 +146,68 @@ interface INetworkCostManagerEvents : IUnknown
}
}
[
[
object
,
oleautomation
,
pointer_default
(
unique
),
dual
,
uuid
(
dcb00003
-
570
f
-
4
a9b
-
8
d69
-
199
fdba5723b
)
]
interface
IEnumNetworks
:
IDispatch
{
[
id
(
DISPID_NEWENUM
),
propget
,
hidden
,
restricted
]
HRESULT
_NewEnum
(
[
out
,
retval
]
IEnumVARIANT
**
ppEnumVar
)
;
[
id
(
1
)
]
HRESULT
Next
(
[
in
]
ULONG
celt
,
[
out
,
size_is
(
celt
),
length_is
(
*
pceltFetched
)
]
INetwork
**
rgelt
,
[
in
,
out
]
ULONG
*
pceltFetched
)
;
[
id
(
2
)
]
HRESULT
Skip
(
[
in
]
ULONG
celt
)
;
[
id
(
3
)
]
HRESULT
Reset
()
;
[
id
(
4
)
]
HRESULT
Clone
(
[
out
,
retval
]
IEnumNetworks
**
ppEnumNetwork
)
;
}
[
object
,
oleautomation
,
pointer_default
(
unique
),
dual
,
uuid
(
dcb00006
-
570
f
-
4
a9b
-
8
d69
-
199
fdba5723b
)
]
interface
IEnumNetworkConnections
:
IDispatch
{
[
id
(
DISPID_NEWENUM
),
propget
,
hidden
,
restricted
]
HRESULT
_NewEnum
(
[
out
,
retval
]
IEnumVARIANT
**
ppEnumVar
)
;
[
id
(
1
)
]
HRESULT
Next
(
[
in
]
ULONG
celt
,
[
out
,
size_is
(
celt
),
length_is
(
*
pceltFetched
)
]
INetworkConnection
**
rgelt
,
[
in
,
out
]
ULONG
*
pceltFetched
)
;
[
id
(
2
)
]
HRESULT
Skip
(
[
in
]
ULONG
celt
)
;
[
id
(
3
)
]
HRESULT
Reset
()
;
[
id
(
4
)
]
HRESULT
Clone
(
[
out
,
retval
]
IEnumNetworkConnections
**
ppEnumNetwork
)
;
}
[
dual
,
dual
,
object
,
object
,
oleautomation
,
oleautomation
,
...
@@ -197,3 +280,113 @@ interface INetworkConnectionEvents : IUnknown
...
@@ -197,3 +280,113 @@ interface INetworkConnectionEvents : IUnknown
[
in
]
GUID
connectionId
,
[
in
]
GUID
connectionId
,
[
in
]
NLM_CONNECTION_PROPERTY_CHANGE
flags
)
;
[
in
]
NLM_CONNECTION_PROPERTY_CHANGE
flags
)
;
}
}
[
object
,
oleautomation
,
pointer_default
(
unique
),
dual
,
uuid
(
dcb00005
-
570
f
-
4
a9b
-
8
d69
-
199
fdba5723b
)
]
interface
INetworkConnection
:
IDispatch
{
[
id
(
1
)
]
HRESULT
GetNetwork
(
[
out
,
retval
]
INetwork
**
ppNetwork
)
;
[
propget
,
id
(
2
)
]
HRESULT
IsConnectedToInternet
(
[
out
,
retval
]
VARIANT_BOOL
*
pbIsConnected
)
;
[
propget
,
id
(
3
)
]
HRESULT
IsConnected
(
[
out
,
retval
]
VARIANT_BOOL
*
pbIsConnected
)
;
[
id
(
4
)
]
HRESULT
GetConnectivity
(
[
out
,
retval
]
NLM_CONNECTIVITY
*
pConnectivity
)
;
[
id
(
5
)
]
HRESULT
GetConnectionId
(
[
out
,
retval
]
GUID
*
pgdConnectionId
)
;
[
id
(
6
)
]
HRESULT
GetAdapterId
(
[
out
,
retval
]
GUID
*
pgdAdapterId
)
;
[
id
(
7
)
]
HRESULT
GetDomainType
(
[
out
,
retval
]
NLM_DOMAIN_TYPE
*
pDomainType
)
;
}
[
object
,
oleautomation
,
pointer_default
(
unique
),
dual
,
uuid
(
dcb00002
-
570
f
-
4
a9b
-
8
d69
-
199
fdba5723b
)
]
interface
INetwork
:
IDispatch
{
typedef
enum
NLM_NETWORK_CATEGORY
{
NLM_NETWORK_CATEGORY_PUBLIC
=
0
x00
,
NLM_NETWORK_CATEGORY_PRIVATE
=
0
x01
,
NLM_NETWORK_CATEGORY_DOMAIN_AUTHENTICATED
=
0
x02
}
NLM_NETWORK_CATEGORY
;
[
id
(
1
)
]
HRESULT
GetName
(
[
out
,
string
,
retval
]
BSTR
*
pszNetworkName
)
;
[
id
(
2
)
]
HRESULT
SetName
(
[
in
,
string
]
BSTR
szNetworkNewName
)
;
[
id
(
3
)
]
HRESULT
GetDescription
(
[
out
,
string
,
retval
]
BSTR
*
pszDescription
)
;
[
id
(
4
)
]
HRESULT
SetDescription
(
[
in
,
string
]
BSTR
szDescription
)
;
[
id
(
5
)
]
HRESULT
GetNetworkId
(
[
out
,
retval
]
GUID
*
pgdGuidNetworkId
)
;
[
id
(
6
)
]
HRESULT
GetDomainType
(
[
out
,
retval
]
NLM_DOMAIN_TYPE
*
pNetworkType
)
;
[
id
(
7
)
]
HRESULT
GetNetworkConnections
(
[
out
,
retval
]
IEnumNetworkConnections
**
ppEnumNetworkConnection
)
;
[
id
(
8
)
]
HRESULT
GetTimeCreatedAndConnected
(
[
out
]
DWORD
*
pdwLowDateTimeCreated
,
[
out
]
DWORD
*
pdwHighDateTimeCreated
,
[
out
]
DWORD
*
pdwLowDateTimeConnected
,
[
out
]
DWORD
*
pdwHighDateTimeConnected
)
;
[
propget
,
id
(
9
)
]
HRESULT
IsConnectedToInternet
(
[
out
,
retval
]
VARIANT_BOOL
*
pbIsConnected
)
;
[
propget
,
id
(
10
)
]
HRESULT
IsConnected
(
[
out
,
retval
]
VARIANT_BOOL
*
pbIsConnected
)
;
[
id
(
11
)
]
HRESULT
GetConnectivity
(
[
out
,
retval
]
NLM_CONNECTIVITY
*
pConnectivity
)
;
[
id
(
12
)
]
HRESULT
GetCategory
(
[
out
,
retval
]
NLM_NETWORK_CATEGORY
*
pCategory
)
;
[
id
(
13
)
]
HRESULT
SetCategory
(
[
in
]
NLM_NETWORK_CATEGORY
NewCategory
)
;
}
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