-
Notifications
You must be signed in to change notification settings - Fork 107
/
Copy pathWinRT.Interop.idl
196 lines (177 loc) · 5.4 KB
/
WinRT.Interop.idl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
// Modern IDL 3.0: https://docs.microsoft.com/en-us/uwp/midl-3/intro
// Note: the projection generated for this metadata should be internal, and only
// accessed indirectly with the user-friendly wrappers in ComInteropHelpers.cs.
namespace WinRT.Interop
{
// C#/WinRT provides support for generating internal interface projections
[attributeusage(target_interface)]
[attributename("ProjectionInternal")]
attribute ProjectionInternalAttribute
{
}
// C#/WinRT provides a custom mapping of WinRT.Interop.HWND to System.IntPtr
struct HWND
{
Int32 unused;
};
// accountssettingspaneinterop.idl
#if UAC_VERSION > 2
[uuid(D3EE12AD-3865-4362-9746-B75A682DF0E6), ProjectionInternal]
interface IAccountsSettingsPaneInterop
{
Object GetForWindow(
HWND appWindow,
ref const GUID riid);
Object ShowManageAccountsForWindowAsync(
HWND appWindow,
ref const GUID riid);
Object ShowAddAccountForWindowAsync(
HWND appWindow,
ref const GUID riid);
}
#endif
// dragdropinterop.idl
#if UAC_VERSION > 0
[uuid(5AD8CBA7-4C01-4DAC-9074-827894292D63), ProjectionInternal]
interface IDragDropManagerInterop
{
Object GetForWindow(
HWND hwnd,
ref const GUID riid);
}
#endif
// inputpaneinterop.idl
#if UAC_VERSION > 2
[uuid(75CF2C57-9195-4931-8332-F0B409E916AF), ProjectionInternal]
interface IInputPaneInterop
{
Object GetForWindow(
HWND appWindow,
ref const GUID riid);
}
#endif
// PlayToManagerInterop.idl
#if UAC_VERSION > 0
[uuid(24394699-1F2C-4EB3-8CD7-0EC1DA42A540), ProjectionInternal]
interface IPlayToManagerInterop
{
Object GetForWindow(
HWND appWindow,
ref const GUID riid);
void ShowPlayToUIForWindow(
HWND appWindow);
}
#endif
// PrintManagerInterop.idl
#if UAC_VERSION > 0
[uuid(c5435a42-8d43-4e7b-a68a-ef311e392087), ProjectionInternal]
interface IPrintManagerInterop
{
Object GetForWindow(
HWND appWindow,
ref const GUID riid);
Object ShowPrintUIForWindowAsync(
HWND appWindow,
ref const GUID riid);
}
#endif
// RadialControllerInterop.idl
#if UAC_VERSION > 2
[uuid(1B0535C9-57AD-45C1-9D79-AD5C34360513), ProjectionInternal]
interface IRadialControllerInterop
{
Object CreateForWindow(
HWND hwnd,
ref const GUID riid);
}
#endif
#if UAC_VERSION > 2
[uuid(787cdaac-3186-476d-87e4-b9374a7b9970), ProjectionInternal]
interface IRadialControllerConfigurationInterop
{
Object GetForWindow(
HWND hwnd,
ref const GUID riid);
}
#endif
#if UAC_VERSION > 3
[uuid(3D577EFF-4CEE-11E6-B535-001BDC06AB3B), ProjectionInternal]
interface IRadialControllerIndependentInputSourceInterop
{
Object CreateForWindow(
HWND hwnd,
ref const GUID riid);
}
#endif
// SpatialInteractionManagerInterop.idl
// This interop interface is duplicated by IHolographicSpaceInterop, which has the same IID
#if UAC_VERSION > 3
[uuid(5C4EE536-6A98-4B86-A170-587013D6FD4B), ProjectionInternal]
interface ISpatialInteractionManagerInterop
{
Object GetForWindow(
HWND window,
ref const GUID riid);
}
#endif
// SystemMediaTransportControlsInterop.idl
#if UAC_VERSION > 0
[uuid(ddb0472d-c911-4a1f-86d9-dc3d71a95f5a), ProjectionInternal]
interface ISystemMediaTransportControlsInterop
{
Object GetForWindow(
HWND appWindow,
ref const GUID riid);
}
#endif
// UIViewSettingsInterop.idl
#if UAC_VERSION > 0
[uuid(3694dbf9-8f68-44be-8ff5-195c98ede8a6), ProjectionInternal]
interface IUIViewSettingsInterop
{
Object GetForWindow(
HWND hwnd,
ref const GUID riid);
}
#endif
// UserConsentVerifierInterop.idl
#if UAC_VERSION > 4
[uuid(39E050C3-4E74-441A-8DC0-B81104DF949C), ProjectionInternal]
interface IUserConsentVerifierInterop
{
Object RequestVerificationForWindowAsync(
HWND appWindow,
String message,
ref const GUID riid);
}
#endif
// WebAuthenticationCoreManagerInterop.idl
#if UAC_VERSION > 0
[uuid(F4B8E804-811E-4436-B69C-44CB67B72084), ProjectionInternal]
interface IWebAuthenticationCoreManagerInterop
{
Object RequestTokenForWindowAsync(
HWND appWindow,
Windows.Security.Authentication.Web.Core.WebTokenRequest request,
ref const GUID riid); // __uuidof(IAsyncOperation<WebTokenRequestResult*>)
Object RequestTokenWithWebAccountForWindowAsync(
HWND appWindow,
Windows.Security.Authentication.Web.Core.WebTokenRequest request,
Windows.Security.Credentials.WebAccount webAccount,
ref const GUID riid); // __uuidof(IAsyncOperation<WebTokenRequestResult*>)
}
#endif
// WindowsGraphicsDisplayInterop.idl
#if UAC_VERSION > 14
[uuid(7449121C-382B-4705-8DA7-A795BA482013), ProjectionInternal]
interface IDisplayInformationStaticsInterop
{
Object GetForWindow(
HWND window,
ref const GUID riid);
Object GetForMonitor(
HWND monitor,
ref const GUID riid);
}
#endif
}