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
83cb93ee
Commit
83cb93ee
authored
Mar 23, 2023
by
Mohamad Al-Jaf
Committed by
Alexandre Julliard
Jul 04, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add windows.devices.radios.idl file.
Needed by IBluetoothAdapter in windows.devices.bluetooth.idl.
parent
b12e6fcc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
126 additions
and
0 deletions
+126
-0
Makefile.in
include/Makefile.in
+1
-0
windows.devices.radios.idl
include/windows.devices.radios.idl
+125
-0
No files found.
include/Makefile.in
View file @
83cb93ee
...
...
@@ -810,6 +810,7 @@ SOURCES = \
windows.devices.enumeration.idl
\
windows.devices.haptics.idl
\
windows.devices.power.idl
\
windows.devices.radios.idl
\
windows.foundation.collections.idl
\
windows.foundation.idl
\
windows.foundation.metadata.idl
\
...
...
include/windows.devices.radios.idl
0 → 100644
View file @
83cb93ee
/*
*
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"
;
namespace
Windows
.
Devices.Radios
{
typedef
enum
RadioAccessStatus
RadioAccessStatus
;
typedef
enum
RadioKind
RadioKind
;
typedef
enum
RadioState
RadioState
;
interface
IRadio
;
interface
IRadioStatics
;
runtimeclass
Radio
;
declare
{
interface
Windows
.
Foundation.Collections.IIterable<Windows.Devices.Radios.Radio
*
>
;
interface
Windows
.
Foundation.Collections.IIterator<Windows.Devices.Radios.Radio
*
>
;
interface
Windows
.
Foundation.Collections.IVectorView<Windows.Devices.Radios.Radio
*
>
;
interface
Windows
.
Foundation.AsyncOperationCompletedHandler<Windows.Devices.Radios.Radio
*
>
;
interface
Windows
.
Foundation.AsyncOperationCompletedHandler<Windows.Devices.Radios.RadioAccessStatus>;
interface
Windows
.
Foundation.AsyncOperationCompletedHandler<Windows.Foundation.Collections.IVectorView<Windows.Devices.Radios.Radio
*
>
*
>
;
interface
Windows
.
Foundation.IAsyncOperation<Windows.Devices.Radios.Radio
*
>
;
interface
Windows
.
Foundation.IAsyncOperation<Windows.Devices.Radios.RadioAccessStatus>;
interface
Windows
.
Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.Devices.Radios.Radio
*
>
*
>
;
interface
Windows
.
Foundation.TypedEventHandler<Windows.Devices.Radios.Radio
*
,
IInspectable
*
>
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
RadioAccessStatus
{
Unspecified
=
0
,
Allowed
=
1
,
DeniedByUser
=
2
,
DeniedBySystem
=
3
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
RadioKind
{
Other
=
0
,
WiFi
=
1
,
MobileBroadband
=
2
,
Bluetooth
=
3
,
FM
=
4
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
RadioState
{
Unknown
=
0
,
On
=
1
,
Off
=
2
,
Disabled
=
3
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
Devices.Radios.Radio)
,
uuid
(
252118
df
-
b33e
-
416
a
-
875
f
-
1
cf38ae2d83e
)
]
interface
IRadio
:
IInspectable
{
HRESULT
SetStateAsync
(
[
in
]
Windows
.
Devices.Radios.RadioState
value
,
[
out
,
retval
]
Windows
.
Foundation.IAsyncOperation<Windows.Devices.Radios.RadioAccessStatus>
**
retval
)
;
[
eventadd
]
HRESULT
StateChanged
(
[
in
]
Windows
.
Foundation.TypedEventHandler<Windows.Devices.Radios.Radio
*
,
IInspectable
*
>
*
handler
,
[
out
,
retval
]
EventRegistrationToken
*
cookie
)
;
[
eventremove
]
HRESULT
StateChanged
(
[
in
]
EventRegistrationToken
cookie
)
;
[
propget
]
HRESULT
State
(
[
out
,
retval
]
Windows
.
Devices.Radios.RadioState
**
value
)
;
[
propget
]
HRESULT
Name
(
[
out
,
retval
]
HSTRING
*
value
)
;
[
propget
]
HRESULT
Kind
(
[
out
,
retval
]
Windows
.
Devices.Radios.RadioKind
*
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
Devices.Radios.Radio)
,
uuid
(
5
fb6a12e
-
67
cb
-
46
ae
-
aae9
-
65919
f86eff4
)
]
interface
IRadioStatics
:
IInspectable
{
HRESULT
GetRadiosAsync
(
[
out
,
retval
]
Windows
.
Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.Devices.Radios.Radio
*
>
*
>
**
value
)
;
HRESULT
GetDeviceSelector
(
[
out
,
retval
]
HSTRING
*
selector
)
;
[
overload
(
"FromIdAsync"
)
]
HRESULT
FromIdAsync
(
[
in
]
HSTRING
id
,
[
out
,
retval
]
Windows
.
Foundation.IAsyncOperation<Windows.Devices.Radios.Radio
*
>
**
value
)
;
HRESULT
RequestAccessAsync
(
[
out
,
retval
]
Windows
.
Foundation.IAsyncOperation<Windows.Devices.Radios.RadioAccessStatus>
**
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
marshaling_behavior
(
agile
),
static
(
Windows
.
Devices.Radios.IRadioStatics
,
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
runtimeclass
Radio
{
[
default
]
interface
Windows
.
Devices.Radios.IRadio;
}
}
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