2 * Copyright (C) 2023 Mohamad Al-Jaf
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.
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.
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
20 #pragma winrt ns_prefix
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";
32 namespace Windows.Storage.FileProperties
{
33 interface IBasicProperties
;
35 runtimeclass BasicProperties
;
38 interface Windows.Foundation.AsyncOperationCompletedHandler
<Windows.Storage.FileProperties.BasicProperties
*>;
39 interface Windows.Foundation.IAsyncOperation
<Windows.Storage.FileProperties.BasicProperties
*>;
43 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
44 exclusiveto
(Windows.Storage.FileProperties.BasicProperties
),
45 uuid(d05d55db
-785e-4a66
-be02
-9beec58aea81
)
47 interface IBasicProperties
: IInspectable
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
);
55 contract
(Windows.Foundation.UniversalApiContract
, 1.0)
57 runtimeclass BasicProperties
59 [default] interface Windows.Storage.FileProperties.IBasicProperties
;
60 interface Windows.Storage.FileProperties.IStorageItemExtraProperties
;