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
d51fcb07
Commit
d51fcb07
authored
Jun 01, 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.idl
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
parent
620c283c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
89 additions
and
0 deletions
+89
-0
Makefile.in
include/Makefile.in
+1
-0
windows.networking.idl
include/windows.networking.idl
+88
-0
No files found.
include/Makefile.in
View file @
d51fcb07
...
...
@@ -813,6 +813,7 @@ SOURCES = \
windows.media.idl
\
windows.media.speechrecognition.idl
\
windows.media.speechsynthesis.idl
\
windows.networking.idl
\
windows.networking.connectivity.idl
\
windows.storage.streams.idl
\
windows.system.idl
\
...
...
include/windows.networking.idl
0 → 100644
View file @
d51fcb07
/*
*
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"
;
import
"windows.networking.connectivity.idl"
;
namespace
Windows
{
namespace
Networking
{
typedef
enum
HostNameType
HostNameType
;
runtimeclass
HostName
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
HostNameType
{
DomainName
,
Ipv4
,
Ipv6
,
Bluetooth
}
;
[
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*
hostName
,
[
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
hostname
,
[
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.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