Debian Codegraph @

mingw-w64-headers/include/windows.storage.fileproperties.idl

raw
1 /*
2 * Copyright (C) 2023 Mohamad Al-Jaf
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.devices.geolocation.idl";
29 /* import "windows.storage.idl"; */
30 import "windows.storage.streams.idl";
31
32 namespace Windows.Storage.FileProperties {
33 interface IBasicProperties;
34
35 runtimeclass BasicProperties;
36
37 declare {
38 interface Windows.Foundation.AsyncOperationCompletedHandler<Windows.Storage.FileProperties.BasicProperties *>;
39 interface Windows.Foundation.IAsyncOperation<Windows.Storage.FileProperties.BasicProperties *>;
40 }
41
42 [
43 contract(Windows.Foundation.UniversalApiContract, 1.0),
44 exclusiveto(Windows.Storage.FileProperties.BasicProperties),
45 uuid(d05d55db-785e-4a66-be02-9beec58aea81)
46 ]
47 interface IBasicProperties : IInspectable
48 {
49 [propget] HRESULT Size([out, retval] UINT64 *value);
50 [propget] HRESULT DateModified([out, retval] Windows.Foundation.DateTime *value);
51 [propget] HRESULT ItemDate([out, retval] Windows.Foundation.DateTime *value);
52 }
53
54 [
55 contract(Windows.Foundation.UniversalApiContract, 1.0)
56 ]
57 runtimeclass BasicProperties
58 {
59 [default] interface Windows.Storage.FileProperties.IBasicProperties;
60 /* interface Windows.Storage.FileProperties.IStorageItemExtraProperties; */
61 }
62 }