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
ba392b4c
Commit
ba392b4c
authored
Dec 26, 2022
by
Mohamad Al-Jaf
Committed by
Alexandre Julliard
Aug 17, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add IStorageItem interface definition.
Needed by IStorageFolder.
parent
90cdfc51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
0 deletions
+60
-0
windows.storage.idl
include/windows.storage.idl
+60
-0
No files found.
include/windows.storage.idl
View file @
ba392b4c
...
...
@@ -33,7 +33,10 @@ import "windows.system.idl";
namespace
Windows
.
Storage
{
typedef
enum
FileAccessMode
FileAccessMode
;
typedef
enum
FileAttributes
FileAttributes
;
typedef
enum
NameCollisionOption
NameCollisionOption
;
typedef
enum
StorageDeleteOption
StorageDeleteOption
;
typedef
enum
StorageItemTypes
StorageItemTypes
;
interface
IStorageFolder
;
interface
IStorageFolderStatics
;
...
...
@@ -63,6 +66,21 @@ namespace Windows.Storage {
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
flags
]
enum
FileAttributes
{
Normal
=
0
x0
,
ReadOnly
=
0
x1
,
Directory
=
0
x10
,
Archive
=
0
x20
,
Temporary
=
0
x100
,
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
LocallyIncomplete
=
0
x200
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
NameCollisionOption
...
...
@@ -73,6 +91,26 @@ namespace Windows.Storage {
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
)
]
enum
StorageDeleteOption
{
Default
=
0
,
PermanentDelete
=
1
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
flags
]
enum
StorageItemTypes
{
None
=
0
x0
,
File
=
0
x1
,
Folder
=
0
x2
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
uuid
(
fa3f6186
-
4214
-
428
c
-
a64c
-
14
c9ac7315ea
)
]
...
...
@@ -125,6 +163,28 @@ namespace Windows.Storage {
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
uuid
(
4207
a996
-
ca2f
-
42
f7
-
bde8
-
8b10457
a7f30
)
]
interface
IStorageItem
:
IInspectable
{
[
overload
(
"RenameAsync"
)
]
HRESULT
RenameAsyncOverloadDefaultOptions
(
[
in
]
HSTRING
name
,
[
out
,
retval
]
Windows
.
Foundation.IAsyncAction
**
operation
)
;
[
overload
(
"RenameAsync"
)
]
HRESULT
RenameAsync
(
[
in
]
HSTRING
name
,
[
in
]
Windows
.
Storage.NameCollisionOption
option
,
[
out
,
retval
]
Windows
.
Foundation.IAsyncAction
**
operation
)
;
[
overload
(
"DeleteAsync"
)
]
HRESULT
DeleteAsyncOverloadDefaultOptions
(
[
out
,
retval
]
Windows
.
Foundation.IAsyncAction
**
operation
)
;
[
overload
(
"DeleteAsync"
)
]
HRESULT
DeleteAsync
(
[
in
]
Windows
.
Storage.StorageDeleteOption
option
,
[
out
,
retval
]
Windows
.
Foundation.IAsyncAction
**
operation
)
;
HRESULT
GetBasicPropertiesAsync
(
[
out
,
retval
]
Windows
.
Foundation.IAsyncOperation<Windows.Storage.FileProperties.BasicProperties
*
>
**
operation
)
;
[
propget
]
HRESULT
Name
(
[
out
,
retval
]
HSTRING
*
value
)
;
[
propget
]
HRESULT
Path
(
[
out
,
retval
]
HSTRING
*
value
)
;
[
propget
]
HRESULT
Attributes
(
[
out
,
retval
]
Windows
.
Storage.FileAttributes
*
value
)
;
[
propget
]
HRESULT
DateCreated
(
[
out
,
retval
]
Windows
.
Foundation.DateTime
*
value
)
;
HRESULT
IsOfType
(
[
in
]
Windows
.
Storage.StorageItemTypes
type
,
[
out
,
retval
]
boolean
*
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
1.0
),
exclusiveto
(
Windows
.
Storage.StorageStreamTransaction)
,
uuid
(
f67cf363
-
a53d
-
4
d94
-
ae2c
-
67232
d93acdd
)
]
...
...
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