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
8a07ffd9
Commit
8a07ffd9
authored
Mar 24, 2023
by
Biswapriyo Nath
Committed by
Alexandre Julliard
Mar 29, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add Windows.System.DispatcherQueue definition.
Signed-off-by:
Biswapriyo Nath
<
nathbappai@gmail.com
>
parent
52b832c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
164 additions
and
0 deletions
+164
-0
windows.system.idl
include/windows.system.idl
+164
-0
No files found.
include/windows.system.idl
View file @
8a07ffd9
...
...
@@ -28,14 +28,137 @@ import "windows.foundation.idl";
namespace
Windows
.
System
{
typedef
enum
DispatcherQueuePriority
DispatcherQueuePriority
;
interface
IDispatcherQueue
;
interface
IDispatcherQueue2
;
interface
IDispatcherQueueController
;
interface
IDispatcherQueueControllerStatics
;
interface
IDispatcherQueueShutdownStartingEventArgs
;
interface
IDispatcherQueueStatics
;
interface
IDispatcherQueueTimer
;
interface
IUser
;
interface
IUserStatics
;
interface
IUserChangedEventArgs
;
interface
IUserChangedEventArgs2
;
runtimeclass
DispatcherQueue
;
runtimeclass
DispatcherQueueController
;
runtimeclass
DispatcherQueueShutdownStartingEventArgs
;
runtimeclass
DispatcherQueueTimer
;
runtimeclass
User
;
runtimeclass
UserChangedEventArgs
;
declare
{
interface
Windows
.
Foundation.TypedEventHandler<Windows.System.DispatcherQueue
*
,
IInspectable
*
>
;
interface
Windows
.
Foundation.TypedEventHandler<Windows.System.DispatcherQueue
*
,
Windows
.
System.DispatcherQueueShutdownStartingEventArgs
*
>
;
interface
Windows
.
Foundation.TypedEventHandler<Windows.System.DispatcherQueueTimer
*
,
IInspectable
*
>
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
5.0
)
]
enum
DispatcherQueuePriority
{
Low
=
-
10
,
Normal
=
0
,
High
=
10
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
5.0
),
uuid
(
dfa2dc9c
-
1
a2d
-
4917
-
98
f2
-
939
af1d6e0c8
)
]
delegate
HRESULT
DispatcherQueueHandler
()
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
5.0
),
exclusiveto
(
Windows
.
System.DispatcherQueue)
,
uuid
(
603
e88e4
-
a338
-
4
ffe
-
a457
-
a5cfb9ceb899
)
]
interface
IDispatcherQueue
:
IInspectable
{
HRESULT
CreateTimer
(
[
out
,
retval
]
Windows
.
System.DispatcherQueueTimer
**
result
)
;
[
overload
(
"TryEnqueue"
)
]
HRESULT
TryEnqueue
(
[
in
]
Windows
.
System.DispatcherQueueHandler
*
callback
,
[
out
,
retval
]
boolean
*
result
)
;
[
overload
(
"TryEnqueue"
)
]
HRESULT
TryEnqueueWithPriority
(
[
in
]
Windows
.
System.DispatcherQueuePriority
priority
,
[
in
]
Windows
.
System.DispatcherQueueHandler
*
callback
,
[
out
,
retval
]
boolean
*
result
)
;
[
eventadd
]
HRESULT
ShutdownStarting
(
[
in
]
Windows
.
Foundation.TypedEventHandler<Windows.System.DispatcherQueue
*
,
Windows
.
System.DispatcherQueueShutdownStartingEventArgs
*
>
*
handler
,
[
out
,
retval
]
EventRegistrationToken
*
token
)
;
[
eventremove
]
HRESULT
ShutdownStarting
(
[
in
]
EventRegistrationToken
token
)
;
[
eventadd
]
HRESULT
ShutdownCompleted
(
[
in
]
Windows
.
Foundation.TypedEventHandler<Windows.System.DispatcherQueue
*
,
IInspectable
*
>
*
handler
,
[
out
,
retval
]
EventRegistrationToken
*
token
)
;
[
eventremove
]
HRESULT
ShutdownCompleted
(
[
in
]
EventRegistrationToken
token
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
8.0
),
exclusiveto
(
Windows
.
System.DispatcherQueue)
,
uuid
(
c822c647
-
30
ef
-
506
e
-
bd1e
-
a647ae6675ff
)
]
interface
IDispatcherQueue2
:
IInspectable
{
[
propget
]
HRESULT
HasThreadAccess
(
[
out
,
retval
]
boolean
*
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
5.0
),
exclusiveto
(
Windows
.
System.DispatcherQueueController)
,
uuid
(
22
f34e66
-
50
db
-
4
e36
-
a98d
-
61
c01b384d20
)
]
interface
IDispatcherQueueController
:
IInspectable
{
[
propget
]
HRESULT
DispatcherQueue
(
[
out
,
retval
]
Windows
.
System.DispatcherQueue
**
value
)
;
HRESULT
ShutdownQueueAsync
(
[
out
,
retval
]
Windows
.
Foundation.IAsyncAction
**
operation
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
5.0
),
exclusiveto
(
Windows
.
System.DispatcherQueueController)
,
uuid
(
0
a6c98e0
-
5198
-
49
a2
-
a313
-
3
f70d1f13c27
)
]
interface
IDispatcherQueueControllerStatics
:
IInspectable
{
HRESULT
CreateOnDedicatedThread
(
[
out
,
retval
]
Windows
.
System.DispatcherQueueController
**
result
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
5.0
),
exclusiveto
(
Windows
.
System.DispatcherQueueShutdownStartingEventArgs)
,
uuid
(
c4724c4c
-
ff97
-
40
c0
-
a226
-
cc0aaa545e89
)
]
interface
IDispatcherQueueShutdownStartingEventArgs
:
IInspectable
{
HRESULT
GetDeferral
(
[
out
,
retval
]
Windows
.
Foundation.Deferral
**
result
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
5.0
),
exclusiveto
(
Windows
.
System.DispatcherQueue)
,
uuid
(
a96d83d7
-
9371
-
4517
-
9245
-
d0824ac12c74
)
]
interface
IDispatcherQueueStatics
:
IInspectable
{
HRESULT
GetForCurrentThread
(
[
out
,
retval
]
Windows
.
System.DispatcherQueue
**
result
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
5.0
),
exclusiveto
(
Windows
.
System.DispatcherQueueTimer)
,
uuid
(
5
feabb1d
-
a31c
-
4727
-
b1ac
-
37454649
d56a
)
]
interface
IDispatcherQueueTimer
:
IInspectable
{
[
propget
]
HRESULT
Interval
(
[
out
,
retval
]
Windows
.
Foundation.TimeSpan
*
value
)
;
[
propput
]
HRESULT
Interval
(
[
in
]
Windows
.
Foundation.TimeSpan
value
)
;
[
propget
]
HRESULT
IsRunning
(
[
out
,
retval
]
boolean
*
value
)
;
[
propget
]
HRESULT
IsRepeating
(
[
out
,
retval
]
boolean
*
value
)
;
[
propput
]
HRESULT
IsRepeating
(
[
in
]
boolean
value
)
;
HRESULT
Start
()
;
HRESULT
Stop
()
;
[
eventadd
]
HRESULT
Tick
(
[
in
]
Windows
.
Foundation.TypedEventHandler<Windows.System.DispatcherQueueTimer
*
,
IInspectable
*
>
*
handler
,
[
out
,
retval
]
EventRegistrationToken
*
token
)
;
[
eventremove
]
HRESULT
Tick
(
[
in
]
EventRegistrationToken
token
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
System.UserChangedEventArgs)
,
...
...
@@ -47,6 +170,47 @@ namespace Windows.System
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
5.0
),
marshaling_behavior
(
agile
),
static
(
Windows
.
System.IDispatcherQueueStatics
,
Windows
.
Foundation.UniversalApiContract
,
5.0
),
threading
(
both
)
]
runtimeclass
DispatcherQueue
{
[
default
]
interface
Windows
.
System.IDispatcherQueue;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
8.0
)
]
interface
Windows
.
System.IDispatcherQueue2;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
5.0
),
marshaling_behavior
(
agile
),
static
(
Windows
.
System.IDispatcherQueueControllerStatics
,
Windows
.
Foundation.UniversalApiContract
,
5.0
),
threading
(
both
)
]
runtimeclass
DispatcherQueueController
{
[
default
]
interface
Windows
.
System.IDispatcherQueueController;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
5.0
),
marshaling_behavior
(
agile
)
]
runtimeclass
DispatcherQueueShutdownStartingEventArgs
{
[
default
]
interface
Windows
.
System.IDispatcherQueueShutdownStartingEventArgs;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
5.0
),
marshaling_behavior
(
agile
)
]
runtimeclass
DispatcherQueueTimer
{
[
default
]
interface
Windows
.
System.IDispatcherQueueTimer;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
marshaling_behavior
(
agile
),
static
(
Windows
.
System.IUserStatics
,
Windows
.
Foundation.UniversalApiContract
,
1.0
),
...
...
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