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
07b7fd09
Commit
07b7fd09
authored
Jul 02, 2023
by
Mohamad Al-Jaf
Committed by
Alexandre Julliard
Jul 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add windows.networking.idl file.
parent
ef5f397b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
174 additions
and
0 deletions
+174
-0
Makefile.in
include/Makefile.in
+1
-0
windows.networking.idl
include/windows.networking.idl
+173
-0
No files found.
include/Makefile.in
View file @
07b7fd09
...
@@ -835,6 +835,7 @@ SOURCES = \
...
@@ -835,6 +835,7 @@ SOURCES = \
windows.media.speechrecognition.idl
\
windows.media.speechrecognition.idl
\
windows.media.speechsynthesis.idl
\
windows.media.speechsynthesis.idl
\
windows.networking.connectivity.idl
\
windows.networking.connectivity.idl
\
windows.networking.idl
\
windows.perception.spatial.idl
\
windows.perception.spatial.idl
\
windows.perception.spatial.surfaces.idl
\
windows.perception.spatial.surfaces.idl
\
windows.security.credentials.idl
\
windows.security.credentials.idl
\
...
...
include/windows.networking.idl
0 → 100644
View file @
07b7fd09
/*
*
Copyright
(
C
)
2023
Mohamad
Al
-
Jaf
*
*
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"
;
import
"windows.networking.connectivity.idl"
;
namespace
Windows
.
Networking
{
typedef
enum
DomainNameType
DomainNameType
;
typedef
enum
HostNameSortOptions
HostNameSortOptions
;
typedef
enum
HostNameType
HostNameType
;
interface
IEndpointPair
;
interface
IEndpointPairFactory
;
interface
IHostName
;
interface
IHostNameFactory
;
interface
IHostNameStatics
;
runtimeclass
EndpointPair
;
runtimeclass
HostName
;
declare
{
interface
Windows
.
Foundation.Collections.IIterable<Windows.Networking.EndpointPair
*
>
;
interface
Windows
.
Foundation.Collections.IIterable<Windows.Networking.HostName
*
>
;
interface
Windows
.
Foundation.Collections.IIterator<Windows.Networking.EndpointPair
*
>
;
interface
Windows
.
Foundation.Collections.IIterator<Windows.Networking.HostName
*
>
;
interface
Windows
.
Foundation.Collections.IVectorView<Windows.Networking.EndpointPair
*
>
;
interface
Windows
.
Foundation.Collections.IVectorView<Windows.Networking.HostName
*
>
;
interface
Windows
.
Foundation.Collections.IVector<Windows.Networking.HostName
*
>
;
interface
Windows
.
Foundation.AsyncOperationCompletedHandler<Windows.Foundation.Collections.IVectorView<Windows.Networking.EndpointPair
*
>
*
>
;
interface
Windows
.
Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.Networking.EndpointPair
*
>
*
>
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
DomainNameType
{
Suffix
=
0
,
FullyQualified
=
1
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
flags
]
enum
HostNameSortOptions
{
None
=
0
x0
,
OptimizeForLongConnections
=
0
x2
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
HostNameType
{
DomainName
=
0
,
Ipv4
=
1
,
Ipv6
=
2
,
Bluetooth
=
3
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
Networking.EndpointPair)
,
uuid
(
33
a0aa36
-
f8fa
-
4b30
-
b856
-
76517
c3bd06d
)
]
interface
IEndpointPair
:
IInspectable
{
[
propget
]
HRESULT
LocalHostName
(
[
out
,
retval
]
Windows
.
Networking.HostName
**
value
)
;
[
propput
]
HRESULT
LocalHostName
(
[
in
]
Windows
.
Networking.HostName
*
value
)
;
[
propget
]
HRESULT
LocalServiceName
(
[
out
,
retval
]
HSTRING
*
value
)
;
[
propput
]
HRESULT
LocalServiceName
(
[
in
]
HSTRING
value
)
;
[
propget
]
HRESULT
RemoteHostName
(
[
out
,
retval
]
Windows
.
Networking.HostName
**
value
)
;
[
propput
]
HRESULT
RemoteHostName
(
[
in
]
Windows
.
Networking.HostName
*
value
)
;
[
propget
]
HRESULT
RemoteServiceName
(
[
out
,
retval
]
HSTRING
*
value
)
;
[
propput
]
HRESULT
RemoteServiceName
(
[
in
]
HSTRING
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
Networking.EndpointPair)
,
uuid
(
b609d971
-
64
e0
-
442b
-
aa6f
-
cc8c8f181f78
)
]
interface
IEndpointPairFactory
:
IInspectable
{
HRESULT
CreateEndpointPair
(
[
in
]
Windows
.
Networking.HostName
*
host
,
[
in
]
HSTRING
service
,
[
in
]
Windows
.
Networking.HostName
*
remote_host
,
[
in
]
HSTRING
remote_service
,
[
out
,
retval
]
Windows
.
Networking.EndpointPair
**
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
Networking.HostName)
,
uuid
(
bf8ecaad
-
ed96
-
49
a7
-
9084
-
d416cae88dcb
)
]
interface
IHostName
:
IInspectable
{
[
propget
]
HRESULT
IPInformation
(
[
out
,
retval
]
Windows
.
Networking.Connectivity.IPInformation
**
value
)
;
[
propget
]
HRESULT
RawName
(
[
out
,
retval
]
HSTRING
*
value
)
;
[
propget
]
HRESULT
DisplayName
(
[
out
,
retval
]
HSTRING
*
value
)
;
[
propget
]
HRESULT
CanonicalName
(
[
out
,
retval
]
HSTRING
*
value
)
;
[
propget
]
HRESULT
Type
(
[
out
,
retval
]
Windows
.
Networking.HostNameType
*
value
)
;
HRESULT
IsEqual
(
[
in
]
Windows
.
Networking.HostName
*
name
,
[
out
,
retval
]
boolean
*
equal
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
Networking.HostName)
,
uuid
(
458
c23ed
-
712
f
-
4576
-
adf1
-
c20b2c643558
)
]
interface
IHostNameFactory
:
IInspectable
{
HRESULT
CreateHostName
(
[
in
]
HSTRING
name
,
[
out
,
retval
]
Windows
.
Networking.HostName
**
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
Networking.HostName)
,
uuid
(
f68cd4bf
-
a388
-
4
e8b
-
91
ea
-
54
dd6dd901c0
)
]
interface
IHostNameStatics
:
IInspectable
{
HRESULT
Compare
(
[
in
]
HSTRING
value1
,
[
in
]
HSTRING
value2
,
[
out
,
retval
]
INT32
*
result
)
;
}
[
activatable
(
Windows
.
Networking.IEndpointPairFactory
,
Windows
.
Foundation.UniversalApiContract
,
1.0
),
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
marshaling_behavior
(
agile
),
threading
(
both
)
]
runtimeclass
EndpointPair
{
[
default
]
interface
Windows
.
Networking.IEndpointPair;
}
[
activatable
(
Windows
.
Networking.IHostNameFactory
,
Windows
.
Foundation.UniversalApiContract
,
1.0
),
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
marshaling_behavior
(
agile
),
static
(
Windows
.
Networking.IHostNameStatics
,
Windows
.
Foundation.UniversalApiContract
,
1.0
),
threading
(
both
)
]
runtimeclass
HostName
{
[
default
]
interface
Windows
.
Networking.IHostName;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
interface
Windows
.
Foundation.IStringable;
}
}
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