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
dc65dfe3
Commit
dc65dfe3
authored
Oct 29, 2021
by
Jactry Zeng
Committed by
Alexandre Julliard
Nov 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add IDeviceInformation interface.
Signed-off-by:
Jactry Zeng
<
jzeng@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a5eb23bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
123 additions
and
0 deletions
+123
-0
windows.devices.enumeration.idl
include/windows.devices.enumeration.idl
+123
-0
No files found.
include/windows.devices.enumeration.idl
View file @
dc65dfe3
...
...
@@ -24,13 +24,57 @@ import "inspectable.idl";
import
"asyncinfo.idl"
;
import
"eventtoken.idl"
;
import
"windowscontracts.idl"
;
import
"windows.storage.streams.idl"
;
import
"windows.foundation.idl"
;
namespace
Windows
{
namespace
Devices
{
namespace
Enumeration
{
typedef
enum
Panel
Panel
;
interface
IDeviceInformation
;
interface
IDeviceInformationStatics
;
interface
IDeviceInformationStatics2
;
interface
IDeviceInformationUpdate
;
interface
IEnclosureLocation
;
runtimeclass
DeviceInformation
;
runtimeclass
DeviceInformationUpdate
;
runtimeclass
DeviceThumbnail
;
runtimeclass
EnclosureLocation
;
}
}
}
namespace
Windows
{
namespace
Devices
{
namespace
Enumeration
{
declare
{
interface
Windows
.
Foundation.AsyncOperationCompletedHandler<Windows.Devices.Enumeration.DeviceInformation
*
>
;
interface
Windows
.
Foundation.AsyncOperationCompletedHandler<Windows.Devices.Enumeration.DeviceThumbnail
*
>
;
interface
Windows
.
Foundation.Collections.IMapView<HSTRING
,
IInspectable
*
>
;
interface
Windows
.
Foundation.IAsyncOperation<Windows.Devices.Enumeration.DeviceInformation
*
>
;
interface
Windows
.
Foundation.IAsyncOperation<Windows.Devices.Enumeration.DeviceThumbnail
*
>
;
}
}
}
}
namespace
Windows
{
namespace
Storage
{
namespace
Streams
{
interface
IContentTypeProvider
;
interface
IInputStream
;
interface
IOutputStream
;
interface
IRandomAccessStream
;
interface
IRandomAccessStreamWithContentType
;
}
}
}
...
...
@@ -38,6 +82,55 @@ namespace Windows {
namespace
Windows
{
namespace
Devices
{
namespace
Enumeration
{
enum
Panel
{
Unknown
=
0
,
Front
=
1
,
Back
=
2
,
Top
=
3
,
Bottom
=
4
,
Left
=
5
,
Right
=
6
}
;
[
exclusiveto
(
Windows
.
Devices.Enumeration.DeviceInformation)
,
uuid
(
aba0fb95
-
4398
-489d-8
e44
-
e6130927011f
)
]
interface
IDeviceInformation
:
IInspectable
{
[
propget
]
HRESULT
Id
(
[
out
,
retval
]
HSTRING
*
value
)
;
[
propget
]
HRESULT
Name
(
[
out
,
retval
]
HSTRING
*
value
)
;
[
propget
]
HRESULT
IsEnabled
(
[
out
,
retval
]
boolean
*
value
)
;
[
propget
]
HRESULT
IsDefault
(
[
out
,
retval
]
boolean
*
value
)
;
[
propget
]
HRESULT
EnclosureLocation
(
[
out
,
retval
]
Windows
.
Devices.Enumeration.EnclosureLocation
**
value
)
;
[
propget
]
HRESULT
Properties
(
[
out
,
retval
]
Windows
.
Foundation.Collections.IMapView<HSTRING
,
IInspectable
*
>
**
value
)
;
HRESULT
Update
(
[
in
]
Windows
.
Devices.Enumeration.DeviceInformationUpdate
*
info
)
;
HRESULT
GetThumbnailAsync
(
[
out
,
retval
]
Windows
.
Foundation.IAsyncOperation<Windows.Devices.Enumeration.DeviceThumbnail
*
>
**
operation
)
;
HRESULT
GetGlyphThumbnailAsync
(
[
out
,
retval
]
Windows
.
Foundation.IAsyncOperation<Windows.Devices.Enumeration.DeviceThumbnail
*
>
**
operation
)
;
}
[
exclusiveto
(
Windows
.
Devices.Enumeration.DeviceInformationUpdate)
,
uuid
(
8
f315305
-
d972
-
44b7
-
a37e
-
9
e822c78213b
)
]
interface
IDeviceInformationUpdate
:
IInspectable
{
[
propget
]
HRESULT
Id
(
[
out
,
retval
]
HSTRING
*
value
)
;
[
propget
]
HRESULT
Properties
(
[
out
,
retval
]
Windows
.
Foundation.Collections.IMapView<HSTRING
,
IInspectable
*
>
**
value
)
;
}
[
exclusiveto
(
Windows
.
Devices.Enumeration.EnclosureLocation)
,
uuid
(
42340
a27
-
5810
-
459
c
-
aabb
-
c65e1f813ecf
)
]
interface
IEnclosureLocation
:
IInspectable
{
[
propget
]
HRESULT
InDock
(
[
out
,
retval
]
boolean
*
value
)
;
[
propget
]
HRESULT
InLid
(
[
out
,
retval
]
boolean
*
value
)
;
[
propget
]
HRESULT
Panel
(
[
out
,
retval
]
Windows
.
Devices.Enumeration.Panel
*
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
marshaling_behavior
(
agile
),
...
...
@@ -50,6 +143,36 @@ namespace Windows {
[
default
]
interface
Windows
.
Devices.Enumeration.IDeviceInformation;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
interface
Windows
.
Devices.Enumeration.IDeviceInformation2;
}
[
marshaling_behavior
(
agile
),
]
runtimeclass
DeviceInformationUpdate
{
[
default
]
interface
Windows
.
Devices.Enumeration.IDeviceInformationUpdate;
interface
Windows
.
Devices.Enumeration.IDeviceInformationUpdate2;
}
[
marshaling_behavior
(
agile
),
]
runtimeclass
DeviceThumbnail
{
[
default
]
interface
Windows
.
Storage.Streams.IRandomAccessStreamWithContentType;
interface
Windows
.
Storage.Streams.IContentTypeProvider;
interface
Windows
.
Storage.Streams.IRandomAccessStream;
interface
Windows
.
Storage.Streams.IOutputStream;
interface
Windows
.
Foundation.IClosable;
interface
Windows
.
Storage.Streams.IInputStream;
}
[
marshaling_behavior
(
agile
)
]
runtimeclass
EnclosureLocation
{
[
default
]
interface
Windows
.
Devices.Enumeration.IEnclosureLocation;
}
}
}
}
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