| 1 |
/* |
| 2 |
* Copyright (C) 2024 Biswapriyo Nath |
| 3 |
* |
| 4 |
* This library is free software; you can redistribute it and/or |
| 5 |
* modify it under the terms of the GNU Lesser General Public |
| 6 |
* License as published by the Free Software Foundation; either |
| 7 |
* version 2.1 of the License, or (at your option) any later version. |
| 8 |
* |
| 9 |
* This library is distributed in the hope that it will be useful, |
| 10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 |
* Lesser General Public License for more details. |
| 13 |
* |
| 14 |
* You should have received a copy of the GNU Lesser General Public |
| 15 |
* License along with this library; if not, write to the Free Software |
| 16 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA |
| 17 |
*/ |
| 18 |
|
| 19 |
#ifdef __WIDL__ |
| 20 |
#pragma winrt ns_prefix |
| 21 |
#endif |
| 22 |
|
| 23 |
import "inspectable.idl"; |
| 24 |
import "asyncinfo.idl"; |
| 25 |
import "eventtoken.idl"; |
| 26 |
import "windowscontracts.idl"; |
| 27 |
import "windows.foundation.idl"; |
| 28 |
import "windows.security.enterprisedata.idl"; |
| 29 |
import "windows.storage.idl"; |
| 30 |
import "windows.storage.streams.idl"; |
| 31 |
import "windows.ui.idl"; |
| 32 |
|
| 33 |
namespace Windows.ApplicationModel.DataTransfer { |
| 34 |
typedef enum ClipboardHistoryItemsResultStatus ClipboardHistoryItemsResultStatus; |
| 35 |
typedef enum DataPackageOperation DataPackageOperation; |
| 36 |
typedef enum SetHistoryItemAsContentStatus SetHistoryItemAsContentStatus; |
| 37 |
typedef enum ShareUITheme ShareUITheme; |
| 38 |
|
| 39 |
interface IClipboardContentOptions; |
| 40 |
interface IClipboardHistoryChangedEventArgs; |
| 41 |
interface IClipboardHistoryItem; |
| 42 |
interface IClipboardHistoryItemsResult; |
| 43 |
interface IClipboardStatics; |
| 44 |
interface IClipboardStatics2; |
| 45 |
interface IDataPackage; |
| 46 |
interface IDataPackage2; |
| 47 |
interface IDataPackage3; |
| 48 |
interface IDataPackage4; |
| 49 |
interface IDataPackagePropertySet; |
| 50 |
interface IDataPackagePropertySet2; |
| 51 |
interface IDataPackagePropertySet3; |
| 52 |
interface IDataPackagePropertySet4; |
| 53 |
interface IDataPackagePropertySetView; |
| 54 |
interface IDataPackagePropertySetView2; |
| 55 |
interface IDataPackagePropertySetView3; |
| 56 |
interface IDataPackagePropertySetView4; |
| 57 |
interface IDataPackagePropertySetView5; |
| 58 |
interface IDataPackageView; |
| 59 |
interface IDataPackageView2; |
| 60 |
interface IDataPackageView3; |
| 61 |
interface IDataPackageView4; |
| 62 |
interface IDataProviderDeferral; |
| 63 |
interface IDataProviderRequest; |
| 64 |
interface IDataRequest; |
| 65 |
interface IDataRequestDeferral; |
| 66 |
interface IDataRequestedEventArgs; |
| 67 |
interface IDataTransferManager; |
| 68 |
interface IDataTransferManager2; |
| 69 |
interface IDataTransferManagerStatics; |
| 70 |
interface IDataTransferManagerStatics2; |
| 71 |
interface IDataTransferManagerStatics3; |
| 72 |
interface IHtmlFormatHelperStatics; |
| 73 |
interface IOperationCompletedEventArgs; |
| 74 |
interface IOperationCompletedEventArgs2; |
| 75 |
interface IShareCompletedEventArgs; |
| 76 |
interface IShareProvider; |
| 77 |
interface IShareProviderFactory; |
| 78 |
interface IShareProviderOperation; |
| 79 |
interface IShareProvidersRequestedEventArgs; |
| 80 |
interface IShareTargetInfo; |
| 81 |
interface IShareUIOptions; |
| 82 |
interface ISharedStorageAccessManagerStatics; |
| 83 |
interface IStandardDataFormatsStatics; |
| 84 |
interface IStandardDataFormatsStatics2; |
| 85 |
interface IStandardDataFormatsStatics3; |
| 86 |
interface ITargetApplicationChosenEventArgs; |
| 87 |
|
| 88 |
runtimeclass Clipboard; |
| 89 |
runtimeclass ClipboardContentOptions; |
| 90 |
runtimeclass ClipboardHistoryChangedEventArgs; |
| 91 |
runtimeclass ClipboardHistoryItem; |
| 92 |
runtimeclass ClipboardHistoryItemsResult; |
| 93 |
runtimeclass DataPackage; |
| 94 |
runtimeclass DataPackagePropertySet; |
| 95 |
runtimeclass DataPackagePropertySetView; |
| 96 |
runtimeclass DataPackageView; |
| 97 |
runtimeclass DataProviderDeferral; |
| 98 |
runtimeclass DataProviderRequest; |
| 99 |
runtimeclass DataRequest; |
| 100 |
runtimeclass DataRequestDeferral; |
| 101 |
runtimeclass DataRequestedEventArgs; |
| 102 |
runtimeclass DataTransferManager; |
| 103 |
runtimeclass HtmlFormatHelper; |
| 104 |
runtimeclass OperationCompletedEventArgs; |
| 105 |
runtimeclass ShareCompletedEventArgs; |
| 106 |
runtimeclass ShareProvider; |
| 107 |
runtimeclass ShareProviderOperation; |
| 108 |
runtimeclass ShareProvidersRequestedEventArgs; |
| 109 |
runtimeclass ShareTargetInfo; |
| 110 |
runtimeclass ShareUIOptions; |
| 111 |
runtimeclass SharedStorageAccessManager; |
| 112 |
runtimeclass StandardDataFormats; |
| 113 |
runtimeclass TargetApplicationChosenEventArgs; |
| 114 |
|
| 115 |
declare { |
| 116 |
interface Windows.Foundation.Collections.IKeyValuePair<HSTRING, IInspectable *>; |
| 117 |
interface Windows.Foundation.Collections.IMap<HSTRING, IInspectable *>; |
| 118 |
interface Windows.Foundation.Collections.IMapView<HSTRING, IInspectable *>; |
| 119 |
interface Windows.Foundation.Collections.IIterable<Windows.ApplicationModel.DataTransfer.ClipboardHistoryItem *>; |
| 120 |
interface Windows.Foundation.Collections.IIterable<Windows.ApplicationModel.DataTransfer.ShareProvider *>; |
| 121 |
interface Windows.Foundation.Collections.IIterable<Windows.Foundation.Collections.IKeyValuePair<HSTRING, IInspectable *> *>; |
| 122 |
interface Windows.Foundation.Collections.IIterator<Windows.ApplicationModel.DataTransfer.ClipboardHistoryItem *>; |
| 123 |
interface Windows.Foundation.Collections.IIterator<Windows.ApplicationModel.DataTransfer.ShareProvider *>; |
| 124 |
interface Windows.Foundation.Collections.IVectorView<Windows.ApplicationModel.DataTransfer.ClipboardHistoryItem *>; |
| 125 |
interface Windows.Foundation.Collections.IVectorView<Windows.ApplicationModel.DataTransfer.ShareProvider *>; |
| 126 |
interface Windows.Foundation.Collections.IVector<Windows.ApplicationModel.DataTransfer.ShareProvider *>; |
| 127 |
interface Windows.Foundation.EventHandler<Windows.ApplicationModel.DataTransfer.ClipboardHistoryChangedEventArgs *>; |
| 128 |
interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.ApplicationModel.DataTransfer.ClipboardHistoryItemsResult *>; |
| 129 |
interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.ApplicationModel.DataTransfer.DataPackage *>; |
| 130 |
interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.ApplicationModel.DataTransfer.DataPackageOperation>; |
| 131 |
interface Windows.Foundation.IAsyncOperation<Windows.ApplicationModel.DataTransfer.ClipboardHistoryItemsResult *>; |
| 132 |
interface Windows.Foundation.IAsyncOperation<Windows.ApplicationModel.DataTransfer.DataPackage *>; |
| 133 |
interface Windows.Foundation.IAsyncOperation<Windows.ApplicationModel.DataTransfer.DataPackageOperation>; |
| 134 |
interface Windows.Foundation.TypedEventHandler<Windows.ApplicationModel.DataTransfer.DataPackage *, IInspectable *>; |
| 135 |
interface Windows.Foundation.TypedEventHandler<Windows.ApplicationModel.DataTransfer.DataPackage *, Windows.ApplicationModel.DataTransfer.OperationCompletedEventArgs *>; |
| 136 |
interface Windows.Foundation.TypedEventHandler<Windows.ApplicationModel.DataTransfer.DataPackage *, Windows.ApplicationModel.DataTransfer.ShareCompletedEventArgs *>; |
| 137 |
interface Windows.Foundation.TypedEventHandler<Windows.ApplicationModel.DataTransfer.DataTransferManager *, Windows.ApplicationModel.DataTransfer.DataRequestedEventArgs *>; |
| 138 |
interface Windows.Foundation.TypedEventHandler<Windows.ApplicationModel.DataTransfer.DataTransferManager *, Windows.ApplicationModel.DataTransfer.ShareProvidersRequestedEventArgs *>; |
| 139 |
interface Windows.Foundation.TypedEventHandler<Windows.ApplicationModel.DataTransfer.DataTransferManager *, Windows.ApplicationModel.DataTransfer.TargetApplicationChosenEventArgs *>; |
| 140 |
} |
| 141 |
|
| 142 |
[ |
| 143 |
contract(Windows.Foundation.UniversalApiContract, 7.0) |
| 144 |
] |
| 145 |
enum ClipboardHistoryItemsResultStatus |
| 146 |
{ |
| 147 |
Success = 0, |
| 148 |
AccessDenied = 1, |
| 149 |
ClipboardHistoryDisabled = 2, |
| 150 |
}; |
| 151 |
|
| 152 |
[ |
| 153 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 154 |
flags |
| 155 |
] |
| 156 |
enum DataPackageOperation |
| 157 |
{ |
| 158 |
None = 0x0, |
| 159 |
Copy = 0x1, |
| 160 |
Move = 0x2, |
| 161 |
Link = 0x4, |
| 162 |
}; |
| 163 |
|
| 164 |
[ |
| 165 |
contract(Windows.Foundation.UniversalApiContract, 7.0) |
| 166 |
] |
| 167 |
enum SetHistoryItemAsContentStatus |
| 168 |
{ |
| 169 |
Success = 0, |
| 170 |
AccessDenied = 1, |
| 171 |
ItemDeleted = 2, |
| 172 |
}; |
| 173 |
|
| 174 |
[ |
| 175 |
contract(Windows.Foundation.UniversalApiContract, 5.0) |
| 176 |
] |
| 177 |
enum ShareUITheme |
| 178 |
{ |
| 179 |
Default = 0, |
| 180 |
Light = 1, |
| 181 |
Dark = 2, |
| 182 |
}; |
| 183 |
|
| 184 |
[ |
| 185 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 186 |
uuid(e7ecd720-f2f4-4a2d-920e-170a2f482a27) |
| 187 |
] |
| 188 |
delegate |
| 189 |
HRESULT DataProviderHandler([in] Windows.ApplicationModel.DataTransfer.DataProviderRequest *request); |
| 190 |
|
| 191 |
[ |
| 192 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 193 |
uuid(e7f9d9ba-e1ba-4e4d-bd65-d43845d3212f) |
| 194 |
] |
| 195 |
delegate |
| 196 |
HRESULT ShareProviderHandler([in] Windows.ApplicationModel.DataTransfer.ShareProviderOperation *operation); |
| 197 |
|
| 198 |
[ |
| 199 |
contract(Windows.Foundation.UniversalApiContract, 7.0), |
| 200 |
exclusiveto(Windows.ApplicationModel.DataTransfer.ClipboardContentOptions), |
| 201 |
uuid(e888a98c-ad4b-5447-a056-ab3556276d2b) |
| 202 |
] |
| 203 |
interface IClipboardContentOptions : IInspectable |
| 204 |
{ |
| 205 |
[propget] HRESULT IsRoamable([out, retval] boolean *value); |
| 206 |
[propput] HRESULT IsRoamable([in] boolean value); |
| 207 |
[propget] HRESULT IsAllowedInHistory([out, retval] boolean *value); |
| 208 |
[propput] HRESULT IsAllowedInHistory([in] boolean value); |
| 209 |
[propget] HRESULT RoamingFormats([out, retval] Windows.Foundation.Collections.IVector<HSTRING> **value); |
| 210 |
[propget] HRESULT HistoryFormats([out, retval] Windows.Foundation.Collections.IVector<HSTRING> **value); |
| 211 |
} |
| 212 |
|
| 213 |
[ |
| 214 |
contract(Windows.Foundation.UniversalApiContract, 7.0), |
| 215 |
exclusiveto(Windows.ApplicationModel.DataTransfer.ClipboardHistoryChangedEventArgs), |
| 216 |
uuid(c0be453f-8ea2-53ce-9aba-8d2212573452) |
| 217 |
] |
| 218 |
interface IClipboardHistoryChangedEventArgs : IInspectable |
| 219 |
{ |
| 220 |
} |
| 221 |
|
| 222 |
[ |
| 223 |
contract(Windows.Foundation.UniversalApiContract, 7.0), |
| 224 |
exclusiveto(Windows.ApplicationModel.DataTransfer.ClipboardHistoryItem), |
| 225 |
uuid(0173bd8a-afff-5c50-ab92-3d19f481ec58) |
| 226 |
] |
| 227 |
interface IClipboardHistoryItem : IInspectable |
| 228 |
{ |
| 229 |
[propget] HRESULT Id([out, retval] HSTRING *value); |
| 230 |
[propget] HRESULT Timestamp([out, retval] Windows.Foundation.DateTime *value); |
| 231 |
[propget] HRESULT Content([out, retval] Windows.ApplicationModel.DataTransfer.DataPackageView **value); |
| 232 |
} |
| 233 |
|
| 234 |
[ |
| 235 |
contract(Windows.Foundation.UniversalApiContract, 7.0), |
| 236 |
exclusiveto(Windows.ApplicationModel.DataTransfer.ClipboardHistoryItemsResult), |
| 237 |
uuid(e6dfdee6-0ee2-52e3-852b-f295db65939a) |
| 238 |
] |
| 239 |
interface IClipboardHistoryItemsResult : IInspectable |
| 240 |
{ |
| 241 |
[propget] HRESULT Status([out, retval] Windows.ApplicationModel.DataTransfer.ClipboardHistoryItemsResultStatus *value); |
| 242 |
[propget] HRESULT Items([out, retval] Windows.Foundation.Collections.IVectorView<Windows.ApplicationModel.DataTransfer.ClipboardHistoryItem *> **value); |
| 243 |
} |
| 244 |
|
| 245 |
[ |
| 246 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 247 |
exclusiveto(Windows.ApplicationModel.DataTransfer.Clipboard), |
| 248 |
uuid(c627e291-34e2-4963-8eed-93cbb0ea3d70) |
| 249 |
] |
| 250 |
interface IClipboardStatics : IInspectable |
| 251 |
{ |
| 252 |
HRESULT GetContent([out, retval] Windows.ApplicationModel.DataTransfer.DataPackageView **result); |
| 253 |
HRESULT SetContent([in] Windows.ApplicationModel.DataTransfer.DataPackage *content); |
| 254 |
HRESULT Flush(); |
| 255 |
HRESULT Clear(); |
| 256 |
[eventadd] HRESULT ContentChanged([in] Windows.Foundation.EventHandler<IInspectable *> *handler, [out, retval] EventRegistrationToken *token); |
| 257 |
[eventremove] HRESULT ContentChanged([in] EventRegistrationToken token); |
| 258 |
} |
| 259 |
|
| 260 |
[ |
| 261 |
contract(Windows.Foundation.UniversalApiContract, 7.0), |
| 262 |
exclusiveto(Windows.ApplicationModel.DataTransfer.Clipboard), |
| 263 |
uuid(d2ac1b6a-d29f-554b-b303-f0452345fe02) |
| 264 |
] |
| 265 |
interface IClipboardStatics2 : IInspectable |
| 266 |
{ |
| 267 |
HRESULT GetHistoryItemsAsync([out, retval] Windows.Foundation.IAsyncOperation<Windows.ApplicationModel.DataTransfer.ClipboardHistoryItemsResult *> **operation); |
| 268 |
HRESULT ClearHistory([out, retval] boolean *result); |
| 269 |
HRESULT DeleteItemFromHistory([in] Windows.ApplicationModel.DataTransfer.ClipboardHistoryItem *item, [out, retval] boolean *result); |
| 270 |
HRESULT SetHistoryItemAsContent([in] Windows.ApplicationModel.DataTransfer.ClipboardHistoryItem *item, [out, retval] Windows.ApplicationModel.DataTransfer.SetHistoryItemAsContentStatus *result); |
| 271 |
HRESULT IsHistoryEnabled([out, retval] boolean *result); |
| 272 |
HRESULT IsRoamingEnabled([out, retval] boolean *result); |
| 273 |
HRESULT SetContentWithOptions([in] Windows.ApplicationModel.DataTransfer.DataPackage *content, [in] Windows.ApplicationModel.DataTransfer.ClipboardContentOptions *options, [out, retval] boolean *result); |
| 274 |
[eventadd] HRESULT HistoryChanged([in] Windows.Foundation.EventHandler<Windows.ApplicationModel.DataTransfer.ClipboardHistoryChangedEventArgs *> *handler, [out, retval] EventRegistrationToken *token); |
| 275 |
[eventremove] HRESULT HistoryChanged([in] EventRegistrationToken token); |
| 276 |
[eventadd] HRESULT RoamingEnabledChanged([in] Windows.Foundation.EventHandler<IInspectable *> *handler, [out, retval] EventRegistrationToken *token); |
| 277 |
[eventremove] HRESULT RoamingEnabledChanged([in] EventRegistrationToken token); |
| 278 |
[eventadd] HRESULT HistoryEnabledChanged([in] Windows.Foundation.EventHandler<IInspectable *> *handler, [out, retval] EventRegistrationToken *token); |
| 279 |
[eventremove] HRESULT HistoryEnabledChanged([in] EventRegistrationToken token); |
| 280 |
} |
| 281 |
|
| 282 |
[ |
| 283 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 284 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataPackage), |
| 285 |
uuid(61ebf5c7-efea-4346-9554-981d7e198ffe) |
| 286 |
] |
| 287 |
interface IDataPackage : IInspectable |
| 288 |
{ |
| 289 |
HRESULT GetView([out, retval] Windows.ApplicationModel.DataTransfer.DataPackageView **result); |
| 290 |
[propget] HRESULT Properties([out, retval] Windows.ApplicationModel.DataTransfer.DataPackagePropertySet **value); |
| 291 |
[propget] HRESULT RequestedOperation([out, retval] Windows.ApplicationModel.DataTransfer.DataPackageOperation *value); |
| 292 |
[propput] HRESULT RequestedOperation([in] Windows.ApplicationModel.DataTransfer.DataPackageOperation value); |
| 293 |
[eventadd] HRESULT OperationCompleted([in] Windows.Foundation.TypedEventHandler<Windows.ApplicationModel.DataTransfer.DataPackage *, Windows.ApplicationModel.DataTransfer.OperationCompletedEventArgs *> *handler, [out, retval] EventRegistrationToken *token); |
| 294 |
[eventremove] HRESULT OperationCompleted([in] EventRegistrationToken token); |
| 295 |
[eventadd] HRESULT Destroyed([in] Windows.Foundation.TypedEventHandler<Windows.ApplicationModel.DataTransfer.DataPackage *, IInspectable *> *handler, [out, retval] EventRegistrationToken *token); |
| 296 |
[eventremove] HRESULT Destroyed([in] EventRegistrationToken token); |
| 297 |
HRESULT SetData([in] HSTRING format_id, [in] IInspectable *value); |
| 298 |
HRESULT SetDataProvider([in] HSTRING format_id, [in] Windows.ApplicationModel.DataTransfer.DataProviderHandler *delay_renderer); |
| 299 |
HRESULT SetText([in] HSTRING value); |
| 300 |
HRESULT SetUri([in] Windows.Foundation.Uri *value); |
| 301 |
HRESULT SetHtmlFormat([in] HSTRING value); |
| 302 |
[propget] HRESULT ResourceMap([out, retval] Windows.Foundation.Collections.IMap<HSTRING, Windows.Storage.Streams.RandomAccessStreamReference *> **value); |
| 303 |
HRESULT SetRtf([in] HSTRING value); |
| 304 |
HRESULT SetBitmap([in] Windows.Storage.Streams.RandomAccessStreamReference *value); |
| 305 |
[overload("SetStorageItems")] HRESULT SetStorageItemsReadOnly([in] Windows.Foundation.Collections.IIterable<Windows.Storage.IStorageItem *> *value); |
| 306 |
[overload("SetStorageItems")] HRESULT SetStorageItems([in] Windows.Foundation.Collections.IIterable<Windows.Storage.IStorageItem *> *value, [in] boolean read_only); |
| 307 |
} |
| 308 |
|
| 309 |
[ |
| 310 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 311 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataPackage), |
| 312 |
uuid(041c1fe9-2409-45e1-a538-4c53eeee04a7) |
| 313 |
] |
| 314 |
interface IDataPackage2 : IInspectable |
| 315 |
{ |
| 316 |
HRESULT SetApplicationLink([in] Windows.Foundation.Uri *value); |
| 317 |
HRESULT SetWebLink([in] Windows.Foundation.Uri *value); |
| 318 |
} |
| 319 |
|
| 320 |
[ |
| 321 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 322 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataPackage), |
| 323 |
uuid(88f31f5d-787b-4d32-965a-a9838105a056) |
| 324 |
] |
| 325 |
interface IDataPackage3 : IInspectable |
| 326 |
{ |
| 327 |
[eventadd] HRESULT ShareCompleted([in] Windows.Foundation.TypedEventHandler<Windows.ApplicationModel.DataTransfer.DataPackage *, Windows.ApplicationModel.DataTransfer.ShareCompletedEventArgs *> *handler, [out, retval] EventRegistrationToken *token); |
| 328 |
[eventremove] HRESULT ShareCompleted([in] EventRegistrationToken token); |
| 329 |
} |
| 330 |
|
| 331 |
[ |
| 332 |
contract(Windows.Foundation.UniversalApiContract, 10.0), |
| 333 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataPackage), |
| 334 |
uuid(13a24ec8-9382-536f-852a-3045e1b29a3b) |
| 335 |
] |
| 336 |
interface IDataPackage4 : IInspectable |
| 337 |
{ |
| 338 |
[eventadd] HRESULT ShareCanceled([in] Windows.Foundation.TypedEventHandler<Windows.ApplicationModel.DataTransfer.DataPackage *, IInspectable *> *handler, [out, retval] EventRegistrationToken *token); |
| 339 |
[eventremove] HRESULT ShareCanceled([in] EventRegistrationToken token); |
| 340 |
} |
| 341 |
|
| 342 |
[ |
| 343 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 344 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataPackagePropertySet), |
| 345 |
uuid(cd1c93eb-4c4c-443a-a8d3-f5c241e91689) |
| 346 |
] |
| 347 |
interface IDataPackagePropertySet : IInspectable |
| 348 |
requires Windows.Foundation.Collections.IMap<HSTRING, IInspectable *>, |
| 349 |
Windows.Foundation.Collections.IIterable<Windows.Foundation.Collections.IKeyValuePair<HSTRING, IInspectable *> *> |
| 350 |
{ |
| 351 |
[propget] HRESULT Title([out, retval] HSTRING *value); |
| 352 |
[propput] HRESULT Title([in] HSTRING value); |
| 353 |
[propget] HRESULT Description([out, retval] HSTRING *value); |
| 354 |
[propput] HRESULT Description([in] HSTRING value); |
| 355 |
[propget] HRESULT Thumbnail([out, retval] Windows.Storage.Streams.IRandomAccessStreamReference **value); |
| 356 |
[propput] HRESULT Thumbnail([in] Windows.Storage.Streams.IRandomAccessStreamReference *value); |
| 357 |
[propget] HRESULT FileTypes([out, retval] Windows.Foundation.Collections.IVector<HSTRING> **value); |
| 358 |
[propget] HRESULT ApplicationName([out, retval] HSTRING *value); |
| 359 |
[propput] HRESULT ApplicationName([in] HSTRING value); |
| 360 |
[propget] HRESULT ApplicationListingUri([out, retval] Windows.Foundation.Uri **value); |
| 361 |
[propput] HRESULT ApplicationListingUri([in] Windows.Foundation.Uri *value); |
| 362 |
} |
| 363 |
|
| 364 |
[ |
| 365 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 366 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataPackagePropertySet), |
| 367 |
uuid(eb505d4a-9800-46aa-b181-7b6f0f2b919a) |
| 368 |
] |
| 369 |
interface IDataPackagePropertySet2 : IInspectable |
| 370 |
{ |
| 371 |
[propget] HRESULT ContentSourceWebLink([out, retval] Windows.Foundation.Uri **value); |
| 372 |
[propput] HRESULT ContentSourceWebLink([in] Windows.Foundation.Uri *value); |
| 373 |
[propget] HRESULT ContentSourceApplicationLink([out, retval] Windows.Foundation.Uri **value); |
| 374 |
[propput] HRESULT ContentSourceApplicationLink([in] Windows.Foundation.Uri *value); |
| 375 |
[propget] HRESULT PackageFamilyName([out, retval] HSTRING *value); |
| 376 |
[propput] HRESULT PackageFamilyName([in] HSTRING value); |
| 377 |
[propget] HRESULT Square30x30Logo([out, retval] Windows.Storage.Streams.IRandomAccessStreamReference **value); |
| 378 |
[propput] HRESULT Square30x30Logo([in] Windows.Storage.Streams.IRandomAccessStreamReference *value); |
| 379 |
[propget] HRESULT LogoBackgroundColor([out, retval] Windows.UI.Color *value); |
| 380 |
[propput] HRESULT LogoBackgroundColor([in] Windows.UI.Color value); |
| 381 |
} |
| 382 |
|
| 383 |
[ |
| 384 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 385 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataPackagePropertySet), |
| 386 |
uuid(9e87fd9b-5205-401b-874a-455653bd39e8) |
| 387 |
] |
| 388 |
interface IDataPackagePropertySet3 : IInspectable |
| 389 |
{ |
| 390 |
[propget] HRESULT EnterpriseId([out, retval] HSTRING *value); |
| 391 |
[propput] HRESULT EnterpriseId([in] HSTRING value); |
| 392 |
} |
| 393 |
|
| 394 |
[ |
| 395 |
contract(Windows.Foundation.UniversalApiContract, 6.0), |
| 396 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataPackagePropertySet), |
| 397 |
uuid(6390ebf5-1739-4c74-b22f-865fab5e8545) |
| 398 |
] |
| 399 |
interface IDataPackagePropertySet4 : IInspectable |
| 400 |
{ |
| 401 |
[propget] HRESULT ContentSourceUserActivityJson([out, retval] HSTRING *value); |
| 402 |
[propput] HRESULT ContentSourceUserActivityJson([in] HSTRING value); |
| 403 |
} |
| 404 |
|
| 405 |
[ |
| 406 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 407 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataPackagePropertySetView), |
| 408 |
uuid(b94cec01-0c1a-4c57-be55-75d01289735d) |
| 409 |
] |
| 410 |
interface IDataPackagePropertySetView : IInspectable |
| 411 |
{ |
| 412 |
[propget] HRESULT Title([out, retval] HSTRING *value); |
| 413 |
[propget] HRESULT Description([out, retval] HSTRING *value); |
| 414 |
[propget] HRESULT Thumbnail([out, retval] Windows.Storage.Streams.RandomAccessStreamReference **value); |
| 415 |
[propget] HRESULT FileTypes([out, retval] Windows.Foundation.Collections.IVectorView<HSTRING> **value); |
| 416 |
[propget] HRESULT ApplicationName([out, retval] HSTRING *value); |
| 417 |
[propget] HRESULT ApplicationListingUri([out, retval] Windows.Foundation.Uri **value); |
| 418 |
} |
| 419 |
|
| 420 |
[ |
| 421 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 422 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataPackagePropertySetView), |
| 423 |
uuid(6054509b-8ebe-4feb-9c1e-75e69de54b84) |
| 424 |
] |
| 425 |
interface IDataPackagePropertySetView2 : IInspectable |
| 426 |
{ |
| 427 |
[propget] HRESULT PackageFamilyName([out, retval] HSTRING *value); |
| 428 |
[propget] HRESULT ContentSourceWebLink([out, retval] Windows.Foundation.Uri **value); |
| 429 |
[propget] HRESULT ContentSourceApplicationLink([out, retval] Windows.Foundation.Uri **value); |
| 430 |
[propget] HRESULT Square30x30Logo([out, retval] Windows.Storage.Streams.IRandomAccessStreamReference **value); |
| 431 |
[propget] HRESULT LogoBackgroundColor([out, retval] Windows.UI.Color *value); |
| 432 |
} |
| 433 |
|
| 434 |
[ |
| 435 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 436 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataPackagePropertySetView), |
| 437 |
uuid(db764ce5-d174-495c-84fc-1a51f6ab45d7) |
| 438 |
] |
| 439 |
interface IDataPackagePropertySetView3 : IInspectable |
| 440 |
{ |
| 441 |
[propget] HRESULT EnterpriseId([out, retval] HSTRING *value); |
| 442 |
} |
| 443 |
|
| 444 |
[ |
| 445 |
contract(Windows.Foundation.UniversalApiContract, 6.0), |
| 446 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataPackagePropertySetView), |
| 447 |
uuid(4474c80d-d16f-40ae-9580-6f8562b94235) |
| 448 |
] |
| 449 |
interface IDataPackagePropertySetView4 : IInspectable |
| 450 |
{ |
| 451 |
[propget] HRESULT ContentSourceUserActivityJson([out, retval] HSTRING *value); |
| 452 |
} |
| 453 |
|
| 454 |
[ |
| 455 |
contract(Windows.Foundation.UniversalApiContract, 7.0), |
| 456 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataPackagePropertySetView), |
| 457 |
uuid(6f0a9445-3760-50bb-8523-c4202ded7d78) |
| 458 |
] |
| 459 |
interface IDataPackagePropertySetView5 : IInspectable |
| 460 |
{ |
| 461 |
[propget] HRESULT IsFromRoamingClipboard([out, retval] boolean *value); |
| 462 |
} |
| 463 |
|
| 464 |
[ |
| 465 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 466 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataPackageView), |
| 467 |
uuid(7b840471-5900-4d85-a90b-10cb85fe3552) |
| 468 |
] |
| 469 |
interface IDataPackageView : IInspectable |
| 470 |
{ |
| 471 |
[propget] HRESULT Properties([out, retval] Windows.ApplicationModel.DataTransfer.DataPackagePropertySetView **value); |
| 472 |
[propget] HRESULT RequestedOperation([out, retval] Windows.ApplicationModel.DataTransfer.DataPackageOperation *value); |
| 473 |
HRESULT ReportOperationCompleted([in] Windows.ApplicationModel.DataTransfer.DataPackageOperation value); |
| 474 |
[propget] HRESULT AvailableFormats([out, retval] Windows.Foundation.Collections.IVectorView<HSTRING> **format_ids); |
| 475 |
HRESULT Contains([in] HSTRING format_id, [out, retval] boolean *value); |
| 476 |
HRESULT GetDataAsync([in] HSTRING format_id, [out, retval] Windows.Foundation.IAsyncOperation<IInspectable *> **operation); |
| 477 |
[overload("GetTextAsync")] HRESULT GetTextAsync([out, retval] Windows.Foundation.IAsyncOperation<HSTRING> **operation); |
| 478 |
[overload("GetTextAsync")] HRESULT GetCustomTextAsync([in] HSTRING format_id, [out, retval] Windows.Foundation.IAsyncOperation<HSTRING> **operation); |
| 479 |
HRESULT GetUriAsync([out, retval] Windows.Foundation.IAsyncOperation<Windows.Foundation.Uri *> **operation); |
| 480 |
HRESULT GetHtmlFormatAsync([out, retval] Windows.Foundation.IAsyncOperation<HSTRING> **operation); |
| 481 |
HRESULT GetResourceMapAsync([out, retval] Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IMapView<HSTRING, Windows.Storage.Streams.RandomAccessStreamReference *> *> **operation); |
| 482 |
HRESULT GetRtfAsync([out, retval] Windows.Foundation.IAsyncOperation<HSTRING> **operation); |
| 483 |
HRESULT GetBitmapAsync([out, retval] Windows.Foundation.IAsyncOperation<Windows.Storage.Streams.RandomAccessStreamReference *> **operation); |
| 484 |
HRESULT GetStorageItemsAsync([out, retval] Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.Storage.IStorageItem *> *> **operation); |
| 485 |
} |
| 486 |
|
| 487 |
[ |
| 488 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 489 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataPackageView), |
| 490 |
uuid(40ecba95-2450-4c1d-b6b4-ed45463dee9c) |
| 491 |
] |
| 492 |
interface IDataPackageView2 : IInspectable |
| 493 |
{ |
| 494 |
HRESULT GetApplicationLinkAsync([out, retval] Windows.Foundation.IAsyncOperation<Windows.Foundation.Uri *> **operation); |
| 495 |
HRESULT GetWebLinkAsync([out, retval] Windows.Foundation.IAsyncOperation<Windows.Foundation.Uri *> **operation); |
| 496 |
} |
| 497 |
|
| 498 |
[ |
| 499 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 500 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataPackageView), |
| 501 |
uuid(d37771a8-ddad-4288-8428-d1cae394128b) |
| 502 |
] |
| 503 |
interface IDataPackageView3 : IInspectable |
| 504 |
{ |
| 505 |
[overload("RequestAccessAsync")] HRESULT RequestAccessAsync([out, retval] Windows.Foundation.IAsyncOperation<Windows.Security.EnterpriseData.ProtectionPolicyEvaluationResult> **operation); |
| 506 |
[overload("RequestAccessAsync")] HRESULT RequestAccessWithEnterpriseIdAsync([in] HSTRING enterprise_id, [out, retval] Windows.Foundation.IAsyncOperation<Windows.Security.EnterpriseData.ProtectionPolicyEvaluationResult> **operation); |
| 507 |
HRESULT UnlockAndAssumeEnterpriseIdentity([out, retval] Windows.Security.EnterpriseData.ProtectionPolicyEvaluationResult *result); |
| 508 |
} |
| 509 |
|
| 510 |
[ |
| 511 |
contract(Windows.Foundation.UniversalApiContract, 2.0), |
| 512 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataPackageView), |
| 513 |
uuid(dfe96f1f-e042-4433-a09f-26d6ffda8b85) |
| 514 |
] |
| 515 |
interface IDataPackageView4 : IInspectable |
| 516 |
{ |
| 517 |
HRESULT SetAcceptedFormatId([in] HSTRING format_id); |
| 518 |
} |
| 519 |
|
| 520 |
[ |
| 521 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 522 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataProviderDeferral), |
| 523 |
uuid(c2cf2373-2d26-43d9-b69d-dcb86d03f6da) |
| 524 |
] |
| 525 |
interface IDataProviderDeferral : IInspectable |
| 526 |
{ |
| 527 |
HRESULT Complete(); |
| 528 |
} |
| 529 |
|
| 530 |
[ |
| 531 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 532 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataProviderRequest), |
| 533 |
uuid(ebbc7157-d3c8-47da-acde-f82388d5f716) |
| 534 |
] |
| 535 |
interface IDataProviderRequest : IInspectable |
| 536 |
{ |
| 537 |
[propget] HRESULT FormatId([out, retval] HSTRING *value); |
| 538 |
[propget] HRESULT Deadline([out, retval] Windows.Foundation.DateTime *value); |
| 539 |
HRESULT GetDeferral([out, retval] Windows.ApplicationModel.DataTransfer.DataProviderDeferral **value); |
| 540 |
HRESULT SetData([in] IInspectable *value); |
| 541 |
} |
| 542 |
|
| 543 |
[ |
| 544 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 545 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataRequest), |
| 546 |
uuid(4341ae3b-fc12-4e53-8c02-ac714c415a27) |
| 547 |
] |
| 548 |
interface IDataRequest : IInspectable |
| 549 |
{ |
| 550 |
[propget] HRESULT Data([out, retval] Windows.ApplicationModel.DataTransfer.DataPackage **value); |
| 551 |
[propput] HRESULT Data([in] Windows.ApplicationModel.DataTransfer.DataPackage *value); |
| 552 |
[propget] HRESULT Deadline([out, retval] Windows.Foundation.DateTime *value); |
| 553 |
HRESULT FailWithDisplayText([in] HSTRING value); |
| 554 |
HRESULT GetDeferral([out, retval] Windows.ApplicationModel.DataTransfer.DataRequestDeferral **result); |
| 555 |
} |
| 556 |
|
| 557 |
[ |
| 558 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 559 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataRequestDeferral), |
| 560 |
uuid(6dc4b89f-0386-4263-87c1-ed7dce30890e) |
| 561 |
] |
| 562 |
interface IDataRequestDeferral : IInspectable |
| 563 |
{ |
| 564 |
HRESULT Complete(); |
| 565 |
} |
| 566 |
|
| 567 |
[ |
| 568 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 569 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataRequestedEventArgs), |
| 570 |
uuid(cb8ba807-6ac5-43c9-8ac5-9ba232163182) |
| 571 |
] |
| 572 |
interface IDataRequestedEventArgs : IInspectable |
| 573 |
{ |
| 574 |
[propget] HRESULT Request([out, retval] Windows.ApplicationModel.DataTransfer.DataRequest **value); |
| 575 |
} |
| 576 |
|
| 577 |
[ |
| 578 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 579 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataTransferManager), |
| 580 |
uuid(a5caee9b-8708-49d1-8d36-67d25a8da00c) |
| 581 |
] |
| 582 |
interface IDataTransferManager : IInspectable |
| 583 |
{ |
| 584 |
[eventadd] HRESULT DataRequested([in] Windows.Foundation.TypedEventHandler<Windows.ApplicationModel.DataTransfer.DataTransferManager *, Windows.ApplicationModel.DataTransfer.DataRequestedEventArgs *> *handler, [out, retval] EventRegistrationToken *token); |
| 585 |
[eventremove] HRESULT DataRequested([in] EventRegistrationToken token); |
| 586 |
[eventadd] HRESULT TargetApplicationChosen([in] Windows.Foundation.TypedEventHandler<Windows.ApplicationModel.DataTransfer.DataTransferManager *, Windows.ApplicationModel.DataTransfer.TargetApplicationChosenEventArgs *> *handler, [out, retval] EventRegistrationToken *token); |
| 587 |
[eventremove] HRESULT TargetApplicationChosen([in] EventRegistrationToken token); |
| 588 |
} |
| 589 |
|
| 590 |
[ |
| 591 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 592 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataTransferManager), |
| 593 |
uuid(30ae7d71-8ba8-4c02-8e3f-ddb23b388715) |
| 594 |
] |
| 595 |
interface IDataTransferManager2 : IInspectable |
| 596 |
{ |
| 597 |
[eventadd] HRESULT ShareProvidersRequested([in] Windows.Foundation.TypedEventHandler<Windows.ApplicationModel.DataTransfer.DataTransferManager *, Windows.ApplicationModel.DataTransfer.ShareProvidersRequestedEventArgs *> *handler, [out, retval] EventRegistrationToken *token); |
| 598 |
[eventremove] HRESULT ShareProvidersRequested([in] EventRegistrationToken token); |
| 599 |
} |
| 600 |
|
| 601 |
[ |
| 602 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 603 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataTransferManager), |
| 604 |
uuid(a9da01aa-e00e-4cfe-aa44-2dd932dca3d8) |
| 605 |
] |
| 606 |
interface IDataTransferManagerStatics : IInspectable |
| 607 |
{ |
| 608 |
HRESULT ShowShareUI(); |
| 609 |
HRESULT GetForCurrentView([out, retval] Windows.ApplicationModel.DataTransfer.DataTransferManager **result); |
| 610 |
} |
| 611 |
|
| 612 |
[ |
| 613 |
contract(Windows.Foundation.UniversalApiContract, 3.0), |
| 614 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataTransferManager), |
| 615 |
uuid(c54ec2ec-9f97-4d63-9868-395e271ad8f5) |
| 616 |
] |
| 617 |
interface IDataTransferManagerStatics2 : IInspectable |
| 618 |
{ |
| 619 |
HRESULT IsSupported([out, retval] boolean *result); |
| 620 |
} |
| 621 |
|
| 622 |
[ |
| 623 |
contract(Windows.Foundation.UniversalApiContract, 5.0), |
| 624 |
exclusiveto(Windows.ApplicationModel.DataTransfer.DataTransferManager), |
| 625 |
uuid(05845473-6c82-4f5c-ac23-62e458361fac) |
| 626 |
] |
| 627 |
interface IDataTransferManagerStatics3 : IInspectable |
| 628 |
{ |
| 629 |
[overload("ShowShareUI")] HRESULT ShowShareUIWithOptions([in] Windows.ApplicationModel.DataTransfer.ShareUIOptions *options); |
| 630 |
} |
| 631 |
|
| 632 |
[ |
| 633 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 634 |
exclusiveto(Windows.ApplicationModel.DataTransfer.HtmlFormatHelper), |
| 635 |
uuid(e22e7749-dd70-446f-aefc-61cee59f655e) |
| 636 |
] |
| 637 |
interface IHtmlFormatHelperStatics : IInspectable |
| 638 |
{ |
| 639 |
HRESULT GetStaticFragment([in] HSTRING html_format, [out, retval] HSTRING *html_fragment); |
| 640 |
HRESULT CreateHtmlFormat([in] HSTRING html_fragment, [out, retval] HSTRING *html_format); |
| 641 |
} |
| 642 |
|
| 643 |
[ |
| 644 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 645 |
exclusiveto(Windows.ApplicationModel.DataTransfer.OperationCompletedEventArgs), |
| 646 |
uuid(e7af329d-051d-4fab-b1a9-47fd77f70a41) |
| 647 |
] |
| 648 |
interface IOperationCompletedEventArgs : IInspectable |
| 649 |
{ |
| 650 |
[propget] HRESULT Operation([out, retval] Windows.ApplicationModel.DataTransfer.DataPackageOperation *value); |
| 651 |
} |
| 652 |
|
| 653 |
[ |
| 654 |
contract(Windows.Foundation.UniversalApiContract, 2.0), |
| 655 |
exclusiveto(Windows.ApplicationModel.DataTransfer.OperationCompletedEventArgs), |
| 656 |
uuid(858fa073-1e19-4105-b2f7-c8478808d562) |
| 657 |
] |
| 658 |
interface IOperationCompletedEventArgs2 : IInspectable |
| 659 |
{ |
| 660 |
[propget] HRESULT AcceptedFormatId([out, retval] HSTRING *value); |
| 661 |
} |
| 662 |
|
| 663 |
[ |
| 664 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 665 |
exclusiveto(Windows.ApplicationModel.DataTransfer.ShareCompletedEventArgs), |
| 666 |
uuid(4574c442-f913-4f60-9df7-cc4060ab1916) |
| 667 |
] |
| 668 |
interface IShareCompletedEventArgs : IInspectable |
| 669 |
{ |
| 670 |
[propget] HRESULT ShareTarget([out, retval] Windows.ApplicationModel.DataTransfer.ShareTargetInfo **value); |
| 671 |
} |
| 672 |
|
| 673 |
[ |
| 674 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 675 |
exclusiveto(Windows.ApplicationModel.DataTransfer.ShareProvider), |
| 676 |
uuid(2fabe026-443e-4cda-af25-8d81070efd80) |
| 677 |
] |
| 678 |
interface IShareProvider : IInspectable |
| 679 |
{ |
| 680 |
[propget] HRESULT Title([out, retval] HSTRING *value); |
| 681 |
[propget] HRESULT DisplayIcon([out, retval] Windows.Storage.Streams.RandomAccessStreamReference **value); |
| 682 |
[propget] HRESULT BackgroundColor([out, retval] Windows.UI.Color *value); |
| 683 |
[propget] HRESULT Tag([out, retval] IInspectable **value); |
| 684 |
[propput] HRESULT Tag([in] IInspectable *value); |
| 685 |
} |
| 686 |
|
| 687 |
[ |
| 688 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 689 |
exclusiveto(Windows.ApplicationModel.DataTransfer.ShareProvider), |
| 690 |
uuid(172a174c-e79e-4f6d-b07d-128f469e0296) |
| 691 |
] |
| 692 |
interface IShareProviderFactory : IInspectable |
| 693 |
{ |
| 694 |
HRESULT Create([in] HSTRING title, [in] Windows.Storage.Streams.RandomAccessStreamReference *display_icon, [in] Windows.UI.Color background_color, [in] Windows.ApplicationModel.DataTransfer.ShareProviderHandler *handler, [out, retval] Windows.ApplicationModel.DataTransfer.ShareProvider **result); |
| 695 |
} |
| 696 |
|
| 697 |
[ |
| 698 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 699 |
exclusiveto(Windows.ApplicationModel.DataTransfer.ShareProviderOperation), |
| 700 |
uuid(19cef937-d435-4179-b6af-14e0492b69f6) |
| 701 |
] |
| 702 |
interface IShareProviderOperation : IInspectable |
| 703 |
{ |
| 704 |
[propget] HRESULT Data([out, retval] Windows.ApplicationModel.DataTransfer.DataPackageView **value); |
| 705 |
[propget] HRESULT Provider([out, retval] Windows.ApplicationModel.DataTransfer.ShareProvider **value); |
| 706 |
HRESULT ReportCompleted(); |
| 707 |
} |
| 708 |
|
| 709 |
[ |
| 710 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 711 |
exclusiveto(Windows.ApplicationModel.DataTransfer.ShareProvidersRequestedEventArgs), |
| 712 |
uuid(f888f356-a3f8-4fce-85e4-8826e63be799) |
| 713 |
] |
| 714 |
interface IShareProvidersRequestedEventArgs : IInspectable |
| 715 |
{ |
| 716 |
[propget] HRESULT Providers([out, retval] Windows.Foundation.Collections.IVector<Windows.ApplicationModel.DataTransfer.ShareProvider *> **value); |
| 717 |
[propget] HRESULT Data([out, retval] Windows.ApplicationModel.DataTransfer.DataPackageView **value); |
| 718 |
HRESULT GetDeferral([out, retval] Windows.Foundation.Deferral **result); |
| 719 |
} |
| 720 |
|
| 721 |
[ |
| 722 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 723 |
exclusiveto(Windows.ApplicationModel.DataTransfer.ShareTargetInfo), |
| 724 |
uuid(385be607-c6e8-4114-b294-28f3bb6f9904) |
| 725 |
] |
| 726 |
interface IShareTargetInfo : IInspectable |
| 727 |
{ |
| 728 |
[propget] HRESULT AppUserModelId([out, retval] HSTRING *value); |
| 729 |
[propget] HRESULT ShareProvider([out, retval] Windows.ApplicationModel.DataTransfer.ShareProvider **value); |
| 730 |
} |
| 731 |
|
| 732 |
[ |
| 733 |
contract(Windows.Foundation.UniversalApiContract, 5.0), |
| 734 |
exclusiveto(Windows.ApplicationModel.DataTransfer.ShareUIOptions), |
| 735 |
uuid(72fa8a80-342f-4d90-9551-2ae04e37680c) |
| 736 |
] |
| 737 |
interface IShareUIOptions : IInspectable |
| 738 |
{ |
| 739 |
[propget] HRESULT Theme([out, retval] Windows.ApplicationModel.DataTransfer.ShareUITheme *value); |
| 740 |
[propput] HRESULT Theme([in] Windows.ApplicationModel.DataTransfer.ShareUITheme value); |
| 741 |
[propget] HRESULT SelectionRect([out, retval] Windows.Foundation.IReference<Windows.Foundation.Rect> **value); |
| 742 |
[propput] HRESULT SelectionRect([in] Windows.Foundation.IReference<Windows.Foundation.Rect> *value); |
| 743 |
} |
| 744 |
|
| 745 |
[ |
| 746 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 747 |
exclusiveto(Windows.ApplicationModel.DataTransfer.SharedStorageAccessManager), |
| 748 |
uuid(c6132ada-34b1-4849-bd5f-d09fee3158c5) |
| 749 |
] |
| 750 |
interface ISharedStorageAccessManagerStatics : IInspectable |
| 751 |
{ |
| 752 |
HRESULT AddFile([in] Windows.Storage.IStorageFile *file, [out, retval] HSTRING *out_token); |
| 753 |
HRESULT RedeemTokenForFileAsync([in] HSTRING token, [out, retval] Windows.Foundation.IAsyncOperation<Windows.Storage.StorageFile *> **operation); |
| 754 |
HRESULT RemoveFile([in] HSTRING token); |
| 755 |
} |
| 756 |
|
| 757 |
[ |
| 758 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 759 |
exclusiveto(Windows.ApplicationModel.DataTransfer.StandardDataFormats), |
| 760 |
uuid(7ed681a1-a880-40c9-b4ed-0bee1e15f549) |
| 761 |
] |
| 762 |
interface IStandardDataFormatsStatics : IInspectable |
| 763 |
{ |
| 764 |
[propget] HRESULT Text([out, retval] HSTRING *value); |
| 765 |
[propget] HRESULT Uri([out, retval] HSTRING *value); |
| 766 |
[propget] HRESULT Html([out, retval] HSTRING *value); |
| 767 |
[propget] HRESULT Rtf([out, retval] HSTRING *value); |
| 768 |
[propget] HRESULT Bitmap([out, retval] HSTRING *value); |
| 769 |
[propget] HRESULT StorageItems([out, retval] HSTRING *value); |
| 770 |
} |
| 771 |
|
| 772 |
[ |
| 773 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 774 |
exclusiveto(Windows.ApplicationModel.DataTransfer.StandardDataFormats), |
| 775 |
uuid(42a254f4-9d76-42e8-861b-47c25dd0cf71) |
| 776 |
] |
| 777 |
interface IStandardDataFormatsStatics2 : IInspectable |
| 778 |
{ |
| 779 |
[propget] HRESULT WebLink([out, retval] HSTRING *value); |
| 780 |
[propget] HRESULT ApplicationLink([out, retval] HSTRING *value); |
| 781 |
} |
| 782 |
|
| 783 |
[ |
| 784 |
contract(Windows.Foundation.UniversalApiContract, 6.0), |
| 785 |
exclusiveto(Windows.ApplicationModel.DataTransfer.StandardDataFormats), |
| 786 |
uuid(3b57b069-01d4-474c-8b5f-bc8e27f38b21) |
| 787 |
] |
| 788 |
interface IStandardDataFormatsStatics3 : IInspectable |
| 789 |
{ |
| 790 |
[propget] HRESULT UserActivityJsonArray([out, retval] HSTRING *value); |
| 791 |
} |
| 792 |
|
| 793 |
[ |
| 794 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 795 |
exclusiveto(Windows.ApplicationModel.DataTransfer.TargetApplicationChosenEventArgs), |
| 796 |
uuid(ca6fb8ac-2987-4ee3-9c54-d8afbcb86c1d) |
| 797 |
] |
| 798 |
interface ITargetApplicationChosenEventArgs : IInspectable |
| 799 |
{ |
| 800 |
[propget] HRESULT ApplicationName([out, retval] HSTRING *value); |
| 801 |
} |
| 802 |
|
| 803 |
[ |
| 804 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 805 |
marshaling_behavior(standard), |
| 806 |
static(Windows.ApplicationModel.DataTransfer.IClipboardStatics, Windows.Foundation.UniversalApiContract, 1.0), |
| 807 |
static(Windows.ApplicationModel.DataTransfer.IClipboardStatics2, Windows.Foundation.UniversalApiContract, 7.0), |
| 808 |
threading(both) |
| 809 |
] |
| 810 |
runtimeclass Clipboard |
| 811 |
{ |
| 812 |
} |
| 813 |
|
| 814 |
[ |
| 815 |
activatable(Windows.Foundation.UniversalApiContract, 7.0), |
| 816 |
contract(Windows.Foundation.UniversalApiContract, 7.0), |
| 817 |
marshaling_behavior(agile), |
| 818 |
threading(both) |
| 819 |
] |
| 820 |
runtimeclass ClipboardContentOptions |
| 821 |
{ |
| 822 |
[default] interface Windows.ApplicationModel.DataTransfer.IClipboardContentOptions; |
| 823 |
} |
| 824 |
|
| 825 |
[ |
| 826 |
contract(Windows.Foundation.UniversalApiContract, 7.0), |
| 827 |
marshaling_behavior(agile) |
| 828 |
] |
| 829 |
runtimeclass ClipboardHistoryChangedEventArgs |
| 830 |
{ |
| 831 |
[default] interface Windows.ApplicationModel.DataTransfer.IClipboardHistoryChangedEventArgs; |
| 832 |
} |
| 833 |
|
| 834 |
[ |
| 835 |
contract(Windows.Foundation.UniversalApiContract, 7.0), |
| 836 |
marshaling_behavior(agile) |
| 837 |
] |
| 838 |
runtimeclass ClipboardHistoryItem |
| 839 |
{ |
| 840 |
[default] interface Windows.ApplicationModel.DataTransfer.IClipboardHistoryItem; |
| 841 |
} |
| 842 |
|
| 843 |
[ |
| 844 |
contract(Windows.Foundation.UniversalApiContract, 7.0), |
| 845 |
marshaling_behavior(agile) |
| 846 |
] |
| 847 |
runtimeclass ClipboardHistoryItemsResult |
| 848 |
{ |
| 849 |
[default] interface Windows.ApplicationModel.DataTransfer.IClipboardHistoryItemsResult; |
| 850 |
} |
| 851 |
|
| 852 |
[ |
| 853 |
activatable(Windows.Foundation.UniversalApiContract, 1.0), |
| 854 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 855 |
marshaling_behavior(agile), |
| 856 |
threading(both) |
| 857 |
] |
| 858 |
runtimeclass DataPackage |
| 859 |
{ |
| 860 |
[default] interface Windows.ApplicationModel.DataTransfer.IDataPackage; |
| 861 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.ApplicationModel.DataTransfer.IDataPackage2; |
| 862 |
[contract(Windows.Foundation.UniversalApiContract, 4.0)] interface Windows.ApplicationModel.DataTransfer.IDataPackage3; |
| 863 |
[contract(Windows.Foundation.UniversalApiContract, 10.0)] interface Windows.ApplicationModel.DataTransfer.IDataPackage4; |
| 864 |
} |
| 865 |
|
| 866 |
[ |
| 867 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 868 |
marshaling_behavior(agile) |
| 869 |
] |
| 870 |
runtimeclass DataPackagePropertySet |
| 871 |
{ |
| 872 |
[default] interface Windows.ApplicationModel.DataTransfer.IDataPackagePropertySet; |
| 873 |
interface Windows.Foundation.Collections.IMap<HSTRING, IInspectable *>; |
| 874 |
interface Windows.Foundation.Collections.IIterable<Windows.Foundation.Collections.IKeyValuePair<HSTRING, IInspectable *> *>; |
| 875 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.ApplicationModel.DataTransfer.IDataPackagePropertySet2; |
| 876 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.ApplicationModel.DataTransfer.IDataPackagePropertySet3; |
| 877 |
[contract(Windows.Foundation.UniversalApiContract, 6.0)] interface Windows.ApplicationModel.DataTransfer.IDataPackagePropertySet4; |
| 878 |
} |
| 879 |
|
| 880 |
[ |
| 881 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 882 |
marshaling_behavior(agile) |
| 883 |
] |
| 884 |
runtimeclass DataPackagePropertySetView |
| 885 |
{ |
| 886 |
[default] interface Windows.ApplicationModel.DataTransfer.IDataPackagePropertySetView; |
| 887 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.ApplicationModel.DataTransfer.IDataPackagePropertySetView2; |
| 888 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.ApplicationModel.DataTransfer.IDataPackagePropertySetView3; |
| 889 |
[contract(Windows.Foundation.UniversalApiContract, 6.0)] interface Windows.ApplicationModel.DataTransfer.IDataPackagePropertySetView4; |
| 890 |
[contract(Windows.Foundation.UniversalApiContract, 7.0)] interface Windows.ApplicationModel.DataTransfer.IDataPackagePropertySetView5; |
| 891 |
interface Windows.Foundation.Collections.IMapView<HSTRING, IInspectable *>; |
| 892 |
interface Windows.Foundation.Collections.IIterable<Windows.Foundation.Collections.IKeyValuePair<HSTRING, IInspectable *> *>; |
| 893 |
} |
| 894 |
|
| 895 |
[ |
| 896 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 897 |
marshaling_behavior(agile) |
| 898 |
] |
| 899 |
runtimeclass DataPackageView |
| 900 |
{ |
| 901 |
[default] interface Windows.ApplicationModel.DataTransfer.IDataPackageView; |
| 902 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.ApplicationModel.DataTransfer.IDataPackageView2; |
| 903 |
[contract(Windows.Foundation.UniversalApiContract, 1.0)] interface Windows.ApplicationModel.DataTransfer.IDataPackageView3; |
| 904 |
[contract(Windows.Foundation.UniversalApiContract, 2.0)] interface Windows.ApplicationModel.DataTransfer.IDataPackageView4; |
| 905 |
} |
| 906 |
|
| 907 |
[ |
| 908 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 909 |
marshaling_behavior(agile) |
| 910 |
] |
| 911 |
runtimeclass DataProviderDeferral |
| 912 |
{ |
| 913 |
[default] interface Windows.ApplicationModel.DataTransfer.IDataProviderDeferral; |
| 914 |
} |
| 915 |
|
| 916 |
[ |
| 917 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 918 |
marshaling_behavior(agile) |
| 919 |
] |
| 920 |
runtimeclass DataProviderRequest |
| 921 |
{ |
| 922 |
[default] interface Windows.ApplicationModel.DataTransfer.IDataProviderRequest; |
| 923 |
} |
| 924 |
|
| 925 |
[ |
| 926 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 927 |
marshaling_behavior(agile) |
| 928 |
] |
| 929 |
runtimeclass DataRequest |
| 930 |
{ |
| 931 |
[default] interface Windows.ApplicationModel.DataTransfer.IDataRequest; |
| 932 |
} |
| 933 |
|
| 934 |
[ |
| 935 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 936 |
marshaling_behavior(agile) |
| 937 |
] |
| 938 |
runtimeclass DataRequestDeferral |
| 939 |
{ |
| 940 |
[default] interface Windows.ApplicationModel.DataTransfer.IDataRequestDeferral; |
| 941 |
} |
| 942 |
|
| 943 |
[ |
| 944 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 945 |
marshaling_behavior(agile) |
| 946 |
] |
| 947 |
runtimeclass DataRequestedEventArgs |
| 948 |
{ |
| 949 |
[default] interface Windows.ApplicationModel.DataTransfer.IDataRequestedEventArgs; |
| 950 |
} |
| 951 |
|
| 952 |
[ |
| 953 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 954 |
marshaling_behavior(standard), |
| 955 |
static(Windows.ApplicationModel.DataTransfer.IDataTransferManagerStatics, Windows.Foundation.UniversalApiContract, 1.0), |
| 956 |
static(Windows.ApplicationModel.DataTransfer.IDataTransferManagerStatics2, Windows.Foundation.UniversalApiContract, 3.0), |
| 957 |
static(Windows.ApplicationModel.DataTransfer.IDataTransferManagerStatics3, Windows.Foundation.UniversalApiContract, 5.0), |
| 958 |
threading(both) |
| 959 |
] |
| 960 |
runtimeclass DataTransferManager |
| 961 |
{ |
| 962 |
[default] interface Windows.ApplicationModel.DataTransfer.IDataTransferManager; |
| 963 |
[contract(Windows.Foundation.UniversalApiContract, 4.0)] interface Windows.ApplicationModel.DataTransfer.IDataTransferManager2; |
| 964 |
} |
| 965 |
|
| 966 |
[ |
| 967 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 968 |
marshaling_behavior(agile), |
| 969 |
static(Windows.ApplicationModel.DataTransfer.IHtmlFormatHelperStatics, Windows.Foundation.UniversalApiContract, 1.0) |
| 970 |
] |
| 971 |
runtimeclass HtmlFormatHelper |
| 972 |
{ |
| 973 |
} |
| 974 |
|
| 975 |
[ |
| 976 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 977 |
marshaling_behavior(agile) |
| 978 |
] |
| 979 |
runtimeclass OperationCompletedEventArgs |
| 980 |
{ |
| 981 |
[default] interface Windows.ApplicationModel.DataTransfer.IOperationCompletedEventArgs; |
| 982 |
[contract(Windows.Foundation.UniversalApiContract, 2.0)] interface Windows.ApplicationModel.DataTransfer.IOperationCompletedEventArgs2; |
| 983 |
} |
| 984 |
|
| 985 |
[ |
| 986 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 987 |
marshaling_behavior(agile) |
| 988 |
] |
| 989 |
runtimeclass ShareCompletedEventArgs |
| 990 |
{ |
| 991 |
[default] interface Windows.ApplicationModel.DataTransfer.IShareCompletedEventArgs; |
| 992 |
} |
| 993 |
|
| 994 |
[ |
| 995 |
activatable(Windows.ApplicationModel.DataTransfer.IShareProviderFactory, Windows.Foundation.UniversalApiContract, 4.0), |
| 996 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 997 |
marshaling_behavior(agile) |
| 998 |
] |
| 999 |
runtimeclass ShareProvider |
| 1000 |
{ |
| 1001 |
[default] interface Windows.ApplicationModel.DataTransfer.IShareProvider; |
| 1002 |
} |
| 1003 |
|
| 1004 |
[ |
| 1005 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 1006 |
marshaling_behavior(agile) |
| 1007 |
] |
| 1008 |
runtimeclass ShareProviderOperation |
| 1009 |
{ |
| 1010 |
[default] interface Windows.ApplicationModel.DataTransfer.IShareProviderOperation; |
| 1011 |
} |
| 1012 |
|
| 1013 |
[ |
| 1014 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 1015 |
marshaling_behavior(agile) |
| 1016 |
] |
| 1017 |
runtimeclass ShareProvidersRequestedEventArgs |
| 1018 |
{ |
| 1019 |
[default] interface Windows.ApplicationModel.DataTransfer.IShareProvidersRequestedEventArgs; |
| 1020 |
} |
| 1021 |
|
| 1022 |
[ |
| 1023 |
contract(Windows.Foundation.UniversalApiContract, 4.0), |
| 1024 |
marshaling_behavior(agile) |
| 1025 |
] |
| 1026 |
runtimeclass ShareTargetInfo |
| 1027 |
{ |
| 1028 |
[default] interface Windows.ApplicationModel.DataTransfer.IShareTargetInfo; |
| 1029 |
} |
| 1030 |
|
| 1031 |
[ |
| 1032 |
activatable(Windows.Foundation.UniversalApiContract, 5.0), |
| 1033 |
contract(Windows.Foundation.UniversalApiContract, 5.0), |
| 1034 |
marshaling_behavior(agile), |
| 1035 |
threading(both) |
| 1036 |
] |
| 1037 |
runtimeclass ShareUIOptions |
| 1038 |
{ |
| 1039 |
[default] interface Windows.ApplicationModel.DataTransfer.IShareUIOptions; |
| 1040 |
} |
| 1041 |
|
| 1042 |
[ |
| 1043 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 1044 |
static(Windows.ApplicationModel.DataTransfer.ISharedStorageAccessManagerStatics, Windows.Foundation.UniversalApiContract, 1.0) |
| 1045 |
] |
| 1046 |
runtimeclass SharedStorageAccessManager |
| 1047 |
{ |
| 1048 |
} |
| 1049 |
|
| 1050 |
[ |
| 1051 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 1052 |
marshaling_behavior(agile), |
| 1053 |
static(Windows.ApplicationModel.DataTransfer.IStandardDataFormatsStatics, Windows.Foundation.UniversalApiContract, 1.0), |
| 1054 |
static(Windows.ApplicationModel.DataTransfer.IStandardDataFormatsStatics2, Windows.Foundation.UniversalApiContract, 1.0), |
| 1055 |
static(Windows.ApplicationModel.DataTransfer.IStandardDataFormatsStatics3, Windows.Foundation.UniversalApiContract, 6.0) |
| 1056 |
] |
| 1057 |
runtimeclass StandardDataFormats |
| 1058 |
{ |
| 1059 |
} |
| 1060 |
|
| 1061 |
[ |
| 1062 |
contract(Windows.Foundation.UniversalApiContract, 1.0), |
| 1063 |
marshaling_behavior(agile) |
| 1064 |
] |
| 1065 |
runtimeclass TargetApplicationChosenEventArgs |
| 1066 |
{ |
| 1067 |
[default] interface Windows.ApplicationModel.DataTransfer.ITargetApplicationChosenEventArgs; |
| 1068 |
} |
| 1069 |
} |