windows_storage library

Provides access to WinRT APIs from the Windows.Storage namespace using FFI.

Classes

AccessListEntry
Represents a list entry that contains the identifier and metadata for a StorageFile or StorageFolder object in a list.
ApplicationData
Provides access to the application data store. Application data consists of files and settings that are either local, roaming, or temporary.
ApplicationDataContainer
Represents a container for app settings. The methods and properties of this class support creating, deleting, enumerating, and traversing the container hierarchy.
BasicProperties
Provides access to the basic properties, like the size of the item or the date the item was last modified, of the item (like a file or folder).
Buffer
Provides a default implementation of the IBuffer interface and its related interfaces.
DataReader
Reads data from an input stream.
DataReaderLoadOperation
Loads data from an input stream.
DataWriter
Writes data to an output stream.
DataWriterStoreOperation
Commits data in a buffer to a backing store.
DocumentProperties
Provides access to the document-related properties of an item (like a file or folder).
DownloadsFolder
Creates files and folders inside the Downloads folder.
FileAttributes
Describes the attributes of a file or folder.
FileInputStream
Reads data from a file.
FileIO
Provides helper methods for reading and writing files that are represented by objects of type IStorageFile.
FileOpenPicker
Represents a UI element that lets the user choose and open files. In a desktop app, before using an instance of this class in a way that displays UI, you'll need to associate the object with its owner's window handle.
FileOutputStream
Writes data to a file.
FileRandomAccessStream
Supports reading and writing to a file at a specified position.
FileSavePicker
Represents a file picker that lets the user choose the file name, extension, and storage location for a file.
FolderPicker
Represents a UI element that lets the user choose folders.
IApplicationData
IApplicationData2
IApplicationData3
IApplicationDataContainer
IBasicProperties
IBuffer
IContentTypeProvider
IDataReader
IDataWriter
IDocumentProperties
IFileOpenPicker
IFileOpenPicker3
IFileSavePicker
IFileSavePicker2
IFileSavePicker3
IFileSavePicker4
IFolderPicker
IFolderPicker2
IFolderPicker3
IImageProperties
IInputStream
IInputStreamReference
ImageProperties
Provides access to the image-related properties of an item (like a file or folder).
IMusicProperties
InMemoryRandomAccessStream
Provides random access of data in input and output streams that are stored in memory instead of on disk.
InputStreamOptions
Specifies the read options for an input stream.
InputStreamOverStream
Provides a Windows Runtime input stream for an IStream base implementation.
IOutputStream
IPropertySetSerializer
Provides the ability to serialize/deserialize an IPropertySet to an IBuffer.
IQueryOptions
IQueryOptionsWithProviderFilter
IRandomAccessStream
Supports random access of data in input and output streams.
IRandomAccessStreamReference
IRandomAccessStreamWithContentType
Supports random access of data in input and output streams for a specified data format.
IStorageFile
IStorageFile2
IStorageFilePropertiesWithAvailability
IStorageFileQueryResult
IStorageFileQueryResult2
IStorageFolder
IStorageFolder2
IStorageFolder3
IStorageFolderQueryOperations
IStorageFolderQueryResult
IStorageItem
IStorageItem2
IStorageItemContentProperties
IStorageItemExtraProperties
IStorageItemProperties
IStorageItemProperties2
IStorageItemPropertiesWithProvider
IStorageItemQueryResult
IStorageLibraryChange
IStorageLibraryChangeReader
IStorageLibraryChangeReader2
IStorageLibraryChangeTracker
IStorageLibraryChangeTracker2
IStorageLibraryChangeTrackerOptions
IStorageProvider
IStorageProvider2
IStorageQueryResultBase
IStorageStreamTransaction
IThumbnailProperties
IUserDataPaths
IVideoProperties
KnownFolders
Provides access to common locations that contain user content. This includes content from a user's local libraries (such as Documents, Pictures, Music, and Videos), HomeGroup, removable devices, and media server devices.
MusicProperties
Provides access to the music-related properties of an item (like a file or folder).
OutputStreamOverStream
Provides a Windows Runtime output stream for an IStream base implementation.
PropertyPrefetchOptions
Indicates a system-defined group of file properties.
QueryOptions
Specifies the parameters of a search query for enumerating the contents of storage folders.
RandomAccessStream
Provides random access of data in input and output streams.
RandomAccessStreamOverStream
Provides a Windows Runtime random access stream for an IStream base implementation.
RandomAccessStreamReference
Provides random access of data in input and output streams for a file.
SortEntry
An entry in the SortOrder list the specifies a property and ordering that is used to sort query results.
StorageFile
Represents a file. Provides information about the file and its content, and ways to manipulate them.
StorageFileQueryResult
Provides access to the results of a query of the files in the location that is represented by a StorageFolder object. You can use StorageFileQueryResult to enumerate the files in that StorageFolder location.
StorageFolder
Manages folders and their contents and provides information about them.
StorageFolderQueryResult
Provides access to the results of a query that lists the folder (or file groups) in the folder being queried (which is represented by a StorageFolder). You can use a StorageFolderQueryResult to enumerate folders or file groups in that folder.
StorageItemContentProperties
Provides access to the content-related properties of an item (like a file or folder).
StorageItemQueryResult
Provides access to the results of a query that lists all items including files and folders (or file groups) in the folder being queried (which is represented by a StorageFolder). You can use storageItemQueryResult to enumerate the files and folders in that StorageFolder.
StorageItemThumbnail
Represents the thumbnail image associated with a system resource (like a file or folder).
StorageItemTypes
Describes whether an item that implements the IStorageItem interface is a file or a folder.
StorageLibraryChange
Represents a change to an item in a storage library such as the documents, music, or video library.
StorageLibraryChangeReader
Enables the calling app to read through the changes to items in a storage library.
StorageLibraryChangeTracker
Provides APIs that you can use to manage change tracking for any library (such as documents, music, or videos) or folder.
StorageLibraryChangeTrackerOptions
Allows callers to call EnableWithOptions on the change tracker to choose to track all changes including last change id, or just the last change id.
StorageOpenOptions
Provides options to use when opening a file.
StorageProvider
Contains info about the service that stores files and folders. Files and folders may be stored either by the local file system or by a remote service like Microsoft OneDrive.
StorageStreamTransaction
Represents a write transaction for a random-access stream.
ThumbnailOptions
Describes the behavior used to retrieve and adjust thumbnails, including the size and quality of the image and how quickly the thumbnail image is retrieved.
UserDataPaths
Returns full paths for common user data folders. User data folders are based on the KNOWNFOLDERID naming pattern.
VideoProperties
Provides access to the video-related properties of an item (like a file or folder).

Enums

ApplicationDataCreateDisposition
Specifies options for creating application data containers or returning existing containers. This enumeration is used by the ApplicationDataContainer.CreateContainer method.
ApplicationDataLocality
Specifies the type of an application data store.
ByteOrder
Specifies the byte order of a stream.
CommonFileQuery
Specifies how to sort the files in the query results and determines whether the query is shallow or deep. Query results for deep queries include all files in all of the subfolders of the current folder, sorted according to the specified option.
CommonFolderQuery
Specifies how to group files into folders in the query results and determines whether the query is shallow or deep. Query results for deep queries include all files in all of the subfolders of the current folder, grouped into folders according to the specified option.
CreationCollisionOption
Specifies what to do if a file or folder with the specified name already exists in the current folder when you create a new file or folder.
DateStackOption
Indicates the unit of time used to group files into folders if a CommonFolderQuery based on date is used to create a QueryOptions object.
FileAccessMode
Specifies whether to access a file in read-only mode or in read/write mode.
FileOpenDisposition
Enumeration values for actions to take on a file.
FolderDepth
Indicates whether all files and subfolders of the folder being queried will be enumerated or if only the top-level files and subfolders will be enumerated.
IndexedState
Indicates whether a StorageFolder is included in the system index.
IndexerOption
Specifies whether the query should use the system index of the file system when enumerating content in the folder being queried. The indexer can retrieve results faster but is not available in all file locations.
KnownFolderId
Provides values that identify storage folders.
KnownFoldersAccessStatus
Describes a known folder's access to a single capability.
NameCollisionOption
Specifies what to do if a file or folder with the specified name already exists in the current folder when you copy, move, or rename a file or folder.
PhotoOrientation
Indicates the Exchangeable Image File (EXIF) orientation flag of the photo. This flag describes how to rotate the photo to display it correctly.
PickerLocationId
Identifies the storage location that the file picker presents to the user.
PickerViewMode
Indicates the view mode that the file picker is using to present items.
StorageDeleteOption
Specifies whether a deleted item is moved to the Recycle Bin or permanently deleted.
StorageLibraryChangeType
Describes the type of change that occurred to the storage library item.
ThumbnailMode
Describes the purpose of the thumbnail to determine how to adjust the thumbnail image to retrieve.
ThumbnailType
Indicates whether the thumbnail is an icon or an image.
UnicodeEncoding
Specifies the type of character encoding for a stream.
VideoOrientation
Indicates how to rotate the video to display it correctly.