Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
620c283c
Commit
620c283c
authored
May 28, 2021
by
Alistair Leslie-Hughes
Committed by
Vitaly Lipatov
Jul 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add windows.networking.connectivity.idl
parent
808ccd11
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
369 additions
and
0 deletions
+369
-0
Makefile.in
include/Makefile.in
+1
-0
windows.networking.connectivity.idl
include/windows.networking.connectivity.idl
+368
-0
No files found.
include/Makefile.in
View file @
620c283c
...
...
@@ -813,6 +813,7 @@ SOURCES = \
windows.media.idl
\
windows.media.speechrecognition.idl
\
windows.media.speechsynthesis.idl
\
windows.networking.connectivity.idl
\
windows.storage.streams.idl
\
windows.system.idl
\
windows.system.power.idl
\
...
...
include/windows.networking.connectivity.idl
0 → 100644
View file @
620c283c
/*
*
Copyright
2021
Alistair
Leslie
-
Hughes
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
#
ifdef
__WIDL__
#
pragma
winrt
ns_prefix
#
endif
import
"inspectable.idl"
;
import
"asyncinfo.idl"
;
import
"eventtoken.idl"
;
import
"windowscontracts.idl"
;
import
"windows.foundation.idl"
;
namespace
Windows
{
namespace
Foundation
{
interface
IClosable
;
/*
runtimeclass
Uri
;*/
}
}
namespace
Windows
{
namespace
Networking
{
/*
typedef
enum
DomainNameType
DomainNameType
;*/
/*
runtimeclass
EndpointPair
;*/
/*
runtimeclass
HostName
;*/
/*
typedef
enum
HostNameSortOptions
HostNameSortOptions
;*/
}
}
namespace
Windows
{
namespace
Networking
{
namespace
Connectivity
{
runtimeclass
ConnectionCost
;
runtimeclass
ConnectionProfile
;
runtimeclass
DataPlanStatus
;
runtimeclass
DataPlanUsage
;
runtimeclass
DataUsage
;
runtimeclass
IPInformation
;
runtimeclass
LanIdentifier
;
runtimeclass
LanIdentifierData
;
runtimeclass
NetworkAdapter
;
runtimeclass
NetworkInformation
;
runtimeclass
NetworkSecuritySettings
;
runtimeclass
ProxyConfiguration
;
typedef
enum
NetworkConnectivityLevel
NetworkConnectivityLevel
;
typedef
enum
NetworkCostType
NetworkCostType
;
typedef
enum
RoamingStates
RoamingStates
;
typedef
enum
NetworkAuthenticationType
NetworkAuthenticationType
;
typedef
enum
NetworkEncryptionType
NetworkEncryptionType
;
declare
{
interface
Windows
.
Foundation.Collections.IVectorView<Windows.Networking.Connectivity.ConnectionProfile*>;
interface
Windows
.
Foundation.Collections.IVectorView<Windows.Networking.Connectivity.LanIdentifier*>;
/*
interface
Windows
.
Foundation.Collections.IVectorView<Windows.Networking.HostName*>;*/
/*
interface
Windows
.
Foundation.Collections.IVectorView<Windows.Networking.EndpointPair*>;*/
/*
interface
Windows
.
Foundation.Collections.IIterable<Windows.Networking.EndpointPair*>;*/
/*
interface
Windows
.
Foundation.IAsyncOperation<Windows.Networking.Connectivity.ProxyConfiguration*>;*/
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
NetworkConnectivityLevel
{
None
,
LocalAccess
,
ConstrainedInternetAccess
,
InternetAccess
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
NetworkCostType
{
Unknown
,
Unrestricted
,
Fixed
,
Variable
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
flags
]
enum
RoamingStates
{
None
=
0
x0
,
NotRoaming
=
0
x1
,
Roaming
=
0
x2
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
NetworkAuthenticationType
{
None
,
Unknown
,
Open80211
,
SharedKey80211
,
Wpa
,
WpaPsk
,
WpaNone
,
Rsna
,
RsnaPsk
,
Ihv
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
NetworkEncryptionType
{
None
,
Unknown
,
Wep
,
Wep40
,
Wep104
,
Tkip
,
Ccmp
,
WpaUseGroup
,
RsnUseGroup
,
Ihv
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
uuid
(
71b
a143f
-598e-49
d0
-
84
eb
-
8
febaedcc195
)
]
delegate
HRESULT
NetworkStatusChangedEventHandler
(
[
in
]
IInspectable
*
sender
)
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
exclusiveto
(
Windows
.
Networking.Connectivity.ConnectionProfile)]
[
uuid
(
71b
a143c
-598e-49
d0
-
84
eb
-
8
febaedcc195
)
]
interface
IConnectionProfile
:
IInspectable
{
[
propget
]
HRESULT
ProfileName
(
[
out
,
retval
]
HSTRING
*
value
)
;
HRESULT
GetNetworkConnectivityLevel
(
[
out
,
retval
]
Windows
.
Networking.Connectivity.NetworkConnectivityLevel*
value
)
;
HRESULT
GetNetworkNames
(
[
out
,
retval
]
Windows
.
Foundation.Collections.IVectorView<HSTRING>**
value
)
;
HRESULT
GetConnectionCost
(
[
out
,
retval
]
Windows
.
Networking.Connectivity.ConnectionCost**
value
)
;
HRESULT
GetDataPlanStatus
(
[
out
,
retval
]
Windows
.
Networking.Connectivity.DataPlanStatus**
value
)
;
[
propget
]
HRESULT
NetworkAdapter
(
[
out
,
retval
]
Windows
.
Networking.Connectivity.NetworkAdapter**
value
)
;
HRESULT
GetLocalUsage
(
[
in
]
Windows
.
Foundation.DateTime
start
,
[
in
]
Windows
.
Foundation.DateTime
end
,
[
out
,
retval
]
Windows
.
Networking.Connectivity.DataUsage**
value
)
;
HRESULT
GetLocalUsagePerRoamingStates
(
[
in
]
Windows
.
Foundation.DateTime
start
,
[
in
]
Windows
.
Foundation.DateTime
end
,
[
in
]
Windows
.
Networking.Connectivity.RoamingStates
states
,
[
out
,
retval
]
Windows
.
Networking.Connectivity.DataUsage**
value
)
;
[
propget
]
HRESULT
NetworkSecuritySettings
(
[
out
,
retval
]
Windows
.
Networking.Connectivity.NetworkSecuritySettings**
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
exclusiveto
(
Windows
.
Networking.Connectivity.LanIdentifier)]
[
uuid
(
48
aa53aa
-
1108
-
4546
-
a6cb
-
9
a74da4b7ba0
)
]
interface
ILanIdentifier
:
IInspectable
{
[
propget
]
HRESULT
InfrastructureId
(
[
out
,
retval
]
Windows
.
Networking.Connectivity.LanIdentifierData**
value
)
;
[
propget
]
HRESULT
PortId
(
[
out
,
retval
]
Windows
.
Networking.Connectivity.LanIdentifierData**
value
)
;
[
propget
]
HRESULT
NetworkAdapterId
(
[
out
,
retval
]
GUID
*
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
exclusiveto
(
Windows
.
Networking.Connectivity.LanIdentifierData)]
[
uuid
(
a74e83c3
-
d639
-
45b
e
-
a36a
-
c4e4aeaf6d9b
)
]
interface
ILanIdentifierData
:
IInspectable
{
[
propget
]
HRESULT
Type
(
[
out
,
retval
]
UINT32
*
value
)
;
[
propget
]
HRESULT
Value
(
[
out
,
retval
]
/*
Windows
.
Foundation.Collections.IVectorView<BYTE>**
*/
BYTE
**
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
exclusiveto
(
Windows
.
Networking.Connectivity.IPInformation)]
[
uuid
(
d85145e0
-
138
f
-
47
d7
-
9b3
a
-
36b
b488cef33
)
]
interface
IIPInformation
:
IInspectable
{
[
propget
]
HRESULT
NetworkAdapter
(
[
out
,
retval
]
Windows
.
Networking.Connectivity.NetworkAdapter**
value
)
;
[
propget
]
HRESULT
PrefixLength
(
[
out
,
retval
]
/*
Windows
.
Foundation.IReference<BYTE>**
*/
BYTE
**
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
exclusiveto
(
Windows
.
Networking.Connectivity.NetworkInformation)]
[
uuid
(
5074
f851
-950d-4165
-
9
c15
-
365619481
eea
)
]
interface
INetworkInformationStatics
:
IInspectable
{
HRESULT
GetConnectionProfiles
(
[
out
,
retval
]
Windows
.
Foundation.Collections.IVectorView<Windows.Networking.Connectivity.ConnectionProfile*>**
value
)
;
HRESULT
GetInternetConnectionProfile
(
[
out
,
retval
]
Windows
.
Networking.Connectivity.ConnectionProfile**
value
)
;
HRESULT
GetLanIdentifiers
(
[
out
,
retval
]
Windows
.
Foundation.Collections.IVectorView<Windows.Networking.Connectivity.LanIdentifier*>**
value
)
;
HRESULT
GetHostNames
(
[
out
,
retval
]
/*
Windows
.
Foundation.Collections.IVectorView<Windows.Networking.HostName*>**
*/
DWORD
**
value
)
;
HRESULT
GetProxyConfigurationAsync
(
/*
[
in
]
Windows
.
Foundation.Uri*
*/
char
*
uri
,
[
out
,
retval
]
/*
Windows
.
Foundation.IAsyncOperation<Windows.Networking.Connectivity.ProxyConfiguration*>**
*/
DWORD
**
value
)
;
HRESULT
GetSortedEndpointPairs
(
[
in
]
/*
Windows
.
Foundation.Collections.IIterable<Windows.Networking.EndpointPair*>*
*/
DWORD
*
endpoint
,
[
in
]
/*
Windows
.
Networking.HostNameSortOptions*/
DWORD
options
,
[
out
,
retval
]
/*
Windows
.
Foundation.Collections.IVectorView<Windows.Networking.EndpointPair*>**
*/
DWORD
**
value
)
;
[
eventadd
]
HRESULT
NetworkStatusChanged
(
[
in
]
Windows
.
Networking.Connectivity.NetworkStatusChangedEventHandler*
handler
,
[
out
,
retval
]
EventRegistrationToken
*
eventCookie
)
;
[
eventremove
]
HRESULT
NetworkStatusChanged
(
[
in
]
EventRegistrationToken
cookie
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
exclusiveto
(
Windows
.
Networking.Connectivity.ConnectionCost)]
[
uuid
(
bad7d829
-
3416
-
4b10
-
a202
-
bac0b075bdae
)
]
interface
IConnectionCost
:
IInspectable
{
[
propget
]
HRESULT
NetworkCostType
(
[
out
,
retval
]
Windows
.
Networking.Connectivity.NetworkCostType*
value
)
;
[
propget
]
HRESULT
Roaming
(
[
out
,
retval
]
boolean
*
value
)
;
[
propget
]
HRESULT
OverDataLimit
(
[
out
,
retval
]
boolean
*
value
)
;
[
propget
]
HRESULT
ApproachingDataLimit
(
[
out
,
retval
]
boolean
*
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
exclusiveto
(
Windows
.
Networking.Connectivity.DataUsage)]
[
uuid
(
c1431dd3
-
b146
-
4
d39
-
b959
-
0
c69b096c512
)
]
interface
IDataUsage
:
IInspectable
{
[
propget
]
HRESULT
BytesSent
(
[
out
,
retval
]
UINT64
*
value
)
;
[
propget
]
HRESULT
BytesReceived
(
[
out
,
retval
]
UINT64
*
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
exclusiveto
(
Windows
.
Networking.Connectivity.NetworkAdapter)]
[
uuid
(
3b542
e03
-
5388
-
496
c
-
a8a3
-
affd39aec2e6
)
]
interface
INetworkAdapter
:
IInspectable
{
[
propget
]
HRESULT
OutboundMaxBitsPerSecond
(
[
out
,
retval
]
UINT64
*
value
)
;
[
propget
]
HRESULT
InboundMaxBitsPerSecond
(
[
out
,
retval
]
UINT64
*
value
)
;
[
propget
]
HRESULT
IanaInterfaceType
(
[
out
,
retval
]
UINT32
*
value
)
;
[
propget
]
HRESULT
NetworkItem
(
[
out
,
retval
]
/*
Windows
.
Networking.Connectivity.NetworkItem**
*/
DWORD
**
value
)
;
[
propget
]
HRESULT
NetworkAdapterId
(
[
out
,
retval
]
GUID
*
value
)
;
HRESULT
GetConnectedProfileAsync
(
[
out
,
retval
]
/*
Windows
.
Foundation.IAsyncOperation<Windows.Networking.Connectivity.ConnectionProfile*>**
*/
DWORD
**
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
exclusiveto
(
Windows
.
Networking.Connectivity.NetworkSecuritySettings)]
[
uuid
(
7
CA07E8D
-
917B
-
4B5
F
-
B84D
-
28
F7A5AC5402
)
]
interface
INetworkSecuritySettings
:
IInspectable
{
[
propget
]
HRESULT
NetworkAuthenticationType
(
[
out
,
retval
]
Windows
.
Networking.Connectivity.NetworkAuthenticationType*
value
)
;
[
propget
]
HRESULT
NetworkEncryptionType
(
[
out
,
retval
]
Windows
.
Networking.Connectivity.NetworkEncryptionType*
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
exclusiveto
(
Windows
.
Networking.Connectivity.DataPlanUsage)]
[
uuid
(
b921492d
-
3b44
-
47
ff
-
b361
-
be59e69ed1b0
)
]
interface
IDataPlanUsage
:
IInspectable
{
[
propget
]
HRESULT
MegabytesUsed
(
[
out
]
[
retval
]
UINT32
*
value
)
;
[
propget
]
HRESULT
LastSyncTime
(
[
out
]
[
retval
]
Windows
.
Foundation.DateTime*
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
exclusiveto
(
Windows
.
Networking.Connectivity.DataPlanStatus)]
[
uuid
(
977
a8b8c
-
3885
-
40
f3
-
8851
-
42
cd2bd568bb
)
]
interface
IDataPlanStatus
:
IInspectable
{
[
propget
]
HRESULT
DataPlanUsage
(
[
out
,
retval
]
Windows
.
Networking.Connectivity.DataPlanUsage**
value
)
;
[
propget
]
HRESULT
DataLimitInMegabytes
(
[
out
,
retval
]
/*
Windows
.
Foundation.IReference<UINT32>**
*/
UINT32
**
value
)
;
[
propget
]
HRESULT
InboundBitsPerSecond
(
[
out
,
retval
]
/*
Windows
.
Foundation.IReference<UINT64>**
*/
UINT64
**
value
)
;
[
propget
]
HRESULT
OutboundBitsPerSecond
(
[
out
,
retval
]
/*
Windows
.
Foundation.IReference<UINT64>**
*/
UINT64
**
value
)
;
[
propget
]
HRESULT
NextBillingCycle
(
[
out
,
retval
]
/*
Windows
.
Foundation.IReference<Windows.Foundation.DateTime>**
*/
UINT64
**
value
)
;
[
propget
]
HRESULT
MaxTransferSizeInMegabytes
(
[
out
,
retval
]
/*
Windows
.
Foundation.IReference<UINT32>**
*/
UINT32
**
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
marshaling_behavior
(
agile
)
]
runtimeclass
DataPlanStatus
{
[
default
]
interface
Windows
.
Networking.Connectivity.IDataPlanStatus;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
marshaling_behavior
(
agile
)
]
runtimeclass
DataUsage
{
[
default
]
interface
Windows
.
Networking.Connectivity.IDataUsage;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
marshaling_behavior
(
agile
)
]
runtimeclass
NetworkAdapter
{
[
default
]
interface
Windows
.
Networking.Connectivity.INetworkAdapter;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
marshaling_behavior
(
agile
)
]
runtimeclass
DataPlanUsage
{
[
default
]
interface
Windows
.
Networking.Connectivity.IDataPlanUsage;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
marshaling_behavior
(
agile
)
]
[
static
(
Windows
.
Networking.Connectivity.INetworkInformationStatics
,
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
/*
[
static
(
Windows
.
Networking.Connectivity.INetworkInformationStatics2
,
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
*/
runtimeclass
NetworkInformation
{
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
marshaling_behavior
(
agile
)
]
runtimeclass
IPInformation
{
[
default
]
interface
Windows
.
Networking.Connectivity.IIPInformation;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
marshaling_behavior
(
agile
)
]
runtimeclass
NetworkSecuritySettings
{
[
default
]
interface
Windows
.
Networking.Connectivity.INetworkSecuritySettings;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
marshaling_behavior
(
agile
)
]
runtimeclass
ConnectionProfile
{
[
default
]
interface
Windows
.
Networking.Connectivity.IConnectionProfile;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
interface
Windows
.
Networking.Connectivity.IConnectionProfile2;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
interface
Windows
.
Networking.Connectivity.IConnectionProfile3;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
5.0
)
]
interface
Windows
.
Networking.Connectivity.IConnectionProfile4;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
7.0
)
]
interface
Windows
.
Networking.Connectivity.IConnectionProfile5;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
marshaling_behavior
(
agile
)
]
runtimeclass
ConnectionCost
{
[
default
]
interface
Windows
.
Networking.Connectivity.IConnectionCost;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
interface
Windows
.
Networking.Connectivity.IConnectionCost2;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
marshaling_behavior
(
agile
)
]
runtimeclass
LanIdentifier
{
[
default
]
interface
Windows
.
Networking.Connectivity.ILanIdentifier;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
[
marshaling_behavior
(
agile
)
]
runtimeclass
LanIdentifierData
{
[
default
]
interface
Windows
.
Networking.Connectivity.ILanIdentifierData;
}
}
}
}
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