Windows Runtime APIs not supported in desktop apps
Although you can use most Windows Runtime (WinRT) APIs (see Windows UWP namespaces) in your C# or C++ desktop app, there are two main sets of WinRT APIs that aren't supported in desktop apps, or that have restrictions:
- APIs that have dependencies on user interface (UI) features that were designed for use only in a Universal Windows Platform (UWP) app.
- APIs that require package identity (see Features that require package identity). Such APIs are supported only in desktop apps that are packaged using MSIX.
This article provides details about both of those sets of WinRT APIs. Where available, this article suggests alternative APIs to achieve the same functionality as the APIs that are unsupported in desktop apps. Most of the alternative APIs are available in WinUI 3 or via WinRT COM interfaces that are available in the Windows SDK.
Note
Apps using .NET can make use of provided class implementations for some of the WinRT COM interfaces listed in this article. Those classes are easier to work with than using the WinRT COM interfaces directly. For more information about the available class implementations, see Call interop APIs from a .NET app. Note that those classes require the .NET 6 SDK or later.
This article will be updated as more workarounds and replacements are identified. If you encounter an issue with an API not listed here, please create an issue in the microsoft-ui-xaml repo with the API name and details about what you're trying to achieve by using it.
APIs that have dependencies on UWP-only UI features
Some WinRT APIs were designed specifically for UI scenarios in a UWP app. Those APIs do not behave properly in desktop apps due to threading model and other platform differences. Those APIs, and other WinRT APIs that have dependencies on them, aren't supported for use in desktop apps.
Core unsupported classes
These WinRT classes aren't supported in desktop apps:
Class | Alternative APIs |
---|---|
ApplicationView | None |
CoreApplicationView | Use the Window class provided by WinUI 3 instead. |
CoreApplicationViewTitleBar | Instead of the ExtendViewIntoTitleBar property, use the Window.ExtendsContentIntoTitleBar property provided by WinUI 3. |
CoreDispatcher | Use the Microsoft.UI.Xaml.Window.DispatcherQueue property provided by WinUI 3 instead. Note that the Windows.UI.Xaml.Window.Dispatcher and Windows.UI.Xaml.DependencyObject.Dispatcher properties return null in a desktop app. |
CoreWindow | Also see the Classes that implement IInitializeWithWindow section below. Instead of the GetKeyState method, use the InputKeyboardSource.GetKeyStateForCurrentThread method provided by WinUI 3. Instead of the PointerCursor property, use the UIElement.ProtectedCursor property provided by WinUI 3. You'll need to have a subclass of UIElement to access that property. |
UserActivity | Use the IUserActivitySourceHostInterop COM interface instead (in useractivityinterop.h ). |
For other WinRT APIs that aren't supported in desktop apps, see Unsupported members later in this topic.
Classes with an XxxForCurrentView method
Many WinRT classes have a static GetForCurrentView or CreateForCurrentView method, such as UIViewSettings.GetForCurrentView. Those XxxForCurrentView methods have an implicit dependency on the ApplicationView type, which isn't supported in desktop apps. Because ApplicationView isn't supported in desktop apps, none of the XxxForCurrentView methods are supported either. Some unsupported XxxForCurrentView methods not only return null
, but also throw exceptions.
Note
CoreInputView.GetForCurrentView is supported in desktop apps, and it can be used even without a CoreWindow. You can use that method to retrieve a CoreInputView object on any thread; and if that thread has a foreground window, then that object will produce events.
The following classes are supported in desktop apps; but to retrieve an instance of one in a desktop app, you use a mechanism that's different from the GetForCurrentView or CreateForCurrentView methods. For the classes below that have a COM interface listed as the alternative API, C# developers can also consume those WinRT COM interfaces (see Call interop APIs from a .NET app). The list might not be comprehensive.
Class | Alternative APIs |
---|---|
AccountsSettingsPane | Use the IAccountsSettingsPaneInterop COM interface instead (in accountssettingspaneinterop.h ). |
CoreDragDropManager | Use the IDragDropManagerInterop COM interface instead (in dragdropinterop.h ). |
CoreTextServicesManager | This class is currently supported in desktop apps only in Windows Insider Preview builds. |
DataTransferManager | Use the IDataTransferManagerInterop COM interface instead (in shobjidl_core.h ). |
DisplayInformation | To retrieve an instance of DisplayInformation, use the IDisplayInformationStaticsInterop interface. Alternatively, instead of the LogicalDpi property, you can use the XamlRoot.RasterizationScale property, and listen for changes via the XamlRoot.Changed event (the XamlRoot.RasterizationScale property is provided in WinUI 3). And, instead of the RawPixelsPerViewPixel property, you have the option to use the XamlRoot.RasterizationScale property provided by WinUI 3. |
InputPane | Use the IInputPaneInterop COM interface instead (in inputpaneinterop.h ). |
PlayToManager | Use the IPlayToManagerInterop COM interface instead (in playtomanagerinterop.h ). |
Print3DManager | Use the IPrinting3DManagerInterop COM interface instead (in print3dmanagerinterop.h ). |
PrintManager | Use the IPrintManagerInterop COM interface instead (in printmanagerinterop.h ). |
RadialController | Use the IRadialControllerInterop COM interface instead (in radialcontrollerinterop.h ). |
RadialControllerConfiguration | Use the IRadialControllerConfigurationInterop COM interface instead (in radialcontrollerinterop.h ). |
ResourceContext | See MRT to MRT Core migration. |
ResourceLoader | See MRT to MRT Core migration. |
SpatialInteractionManager | Use the ISpatialInteractionManagerInterop COM interface instead (in spatialinteractionmanagerinterop.h ). |
SystemMediaTransportControls | Use the ISystemMediaTransportControlsInterop COM interface instead (in systemmediatransportcontrolsinterop.h ). |
UserActivityRequestManager | Use the IUserActivityRequestManagerInterop COM interface instead (in useractivityinterop.h ). |
UIViewSettings | Use the IUIViewSettingsInterop COM interface instead (in uiviewsettingsinterop.h ). |
The following classes are not supported in desktop apps because the APIs don't provide an alternative to their GetForCurrentView or CreateForCurrentView method. The list might not be comprehensive.
Class | Alternative APIs |
---|---|
AppCapture | None |
BrightnessOverride | None |
ConnectedAnimationService | None |
CoreInputView | None |
CoreWindowResizeManager | None |
DisplayEnhancementOverride | None |
EdgeGesture | None |
GazeInputSourcePreview | None |
HdmiDisplayInformation | None |
HolographicKeyboardPlacementOverridePreview | None |
KeyboardDeliveryInterceptor | None |
LockApplicationHost | None |
MouseDevice | None |
PointerVisualizationSettings | None |
ProtectionPolicyManager | None |
SearchPane | None |
SettingsPane | None |
SystemNavigationManager | None |
SystemNavigationManagerPreview | None |
WebAuthenticationBroker | None. for more details, see the WebAuthenticationBroker.AuthenticateAsync throws COMException GitHub issue. |
Classes that implement IInitializeWithWindow
Certain pickers, popups, dialogs, and other Windows Runtime (WinRT) objects depend on a CoreWindow; typically, to display a UI. Even though CoreWindow isn't supported in desktop apps (see Core unsupported classes above), you can still use many of those WinRT classes in your desktop app by adding a little bit of interoperation code.
For more info (including a list of affected types), and code examples, see Display WinRT UI objects that depend on CoreWindow.
Unsupported members
This section lists (or describes, where a comprehensive list isn't possible) specific members of WinRT classes that aren't supported for use in desktop apps. Unless otherwise noted, the rest of the classes apart from these members are supported in desktop apps.
Events
The following classes are supported in desktop apps, except for the specified event(s).
Class | Unsupported events |
---|---|
UISettings | ColorValuesChanged |
AccessibilitySettings | HighContrastChanged |
Methods
The following classes are supported in desktop apps, except for the specified method(s).
Class | Unsupported methods |
---|---|
DeviceInformationPairing | PairAsync |
Methods that use the Request naming pattern
Most methods that follow the Request naming pattern—such as AppCapability.RequestAccessAsync and StoreContext.RequestPurchaseAsync—aren't supported in desktop apps. Internally, these methods use the Windows.UI.Popups class. That class requires that the thread have a CoreWindow object, which isn't supported in desktop apps.
The full list of methods that follow the Request naming pattern is very long, and this article doesn't provide a comprehensive list of those methods.
APIs that require package identity
The following WinRT classes require package identity (see Features that require package identity). These APIs are supported only in desktop apps that are packaged (that is, that have package identity at runtime). The list might not be comprehensive.
- Windows.ApplicationModel.DataTransfer.DataProviderHandler
- Windows.ApplicationModel.DataTransfer.DataRequest
- Windows.ApplicationModel.DataTransfer.DataRequestDeferral
- Windows.ApplicationModel.DataTransfer.DataRequestedEventArgs
- Windows.ApplicationModel.DataTransfer.DataTransferManager
- Windows.ApplicationModel.DataTransfer.SharedStorageAccessManager
- Windows.ApplicationModel.DataTransfer.TargetApplicationChosenEventArgs
- Windows.ApplicationModel.Resources.Core.NamedResource
- Windows.ApplicationModel.Resources.Core.ResourceCandidate
- Windows.ApplicationModel.Resources.Core.ResourceCandidateVectorView
- Windows.ApplicationModel.Resources.Core.ResourceContext
- Windows.ApplicationModel.Resources.Core.ResourceContextLanguagesVectorView
- Windows.ApplicationModel.Resources.Core.ResourceManager
- Windows.ApplicationModel.Resources.Core.ResourceMap
- Windows.ApplicationModel.Resources.Core.ResourceMapIterator
- Windows.ApplicationModel.Resources.Core.ResourceMapMapView
- Windows.ApplicationModel.Resources.Core.ResourceMapMapViewIterator
- Windows.ApplicationModel.Resources.Core.ResourceQualifier
- Windows.ApplicationModel.Resources.Core.ResourceQualifierMapView
- Windows.ApplicationModel.Resources.Core.ResourceQualifierObservableMap
- Windows.ApplicationModel.Resources.Core.ResourceQualifierVectorView
- Windows.ApplicationModel.Resources.ResourceLoader
- Windows.Data.Pdf.PdfDocument
- Windows.Data.Pdf.PdfPage
- Windows.Data.Pdf.PdfPageDimensions
- Windows.Data.Pdf.PdfPageRenderOptions
- Windows.Data.Text.SelectableWordSegmentsTokenizingHandler
- Windows.Data.Text.SemanticTextQuery
- Windows.Data.Text.TextConversionGenerator
- Windows.Data.Text.TextPredictionGenerator
- Windows.Data.Text.TextReverseConversionGenerator
- Windows.Data.Text.WordSegmentsTokenizingHandler
- Windows.Data.Xml.Dom.DtdEntity
- Windows.Data.Xml.Dom.DtdNotation
- Windows.Data.Xml.Dom.XmlAttribute
- Windows.Data.Xml.Dom.XmlCDataSection
- Windows.Data.Xml.Dom.XmlComment
- Windows.Data.Xml.Dom.XmlDocument
- Windows.Data.Xml.Dom.XmlDocumentFragment
- Windows.Data.Xml.Dom.XmlDocumentType
- Windows.Data.Xml.Dom.XmlDomImplementation
- Windows.Data.Xml.Dom.XmlElement
- Windows.Data.Xml.Dom.XmlEntityReference
- Windows.Data.Xml.Dom.XmlLoadSettings
- Windows.Data.Xml.Dom.XmlNamedNodeMap
- Windows.Data.Xml.Dom.XmlNodeList
- Windows.Data.Xml.Dom.XmlProcessingInstruction
- Windows.Data.Xml.Dom.XmlText
- Windows.Data.Xml.Xsl.XsltProcessor
- Windows.Devices.Input.KeyboardCapabilities
- Windows.Devices.Input.MouseCapabilities
- Windows.Devices.Input.MouseDevice
- Windows.Devices.Input.MouseEventArgs
- Windows.Devices.Input.PointerDevice
- Windows.Devices.Input.TouchCapabilities
- Windows.Devices.Lights.Lamp
- Windows.Devices.Lights.LampAvailabilityChangedEventArgs
- Windows.Devices.Perception.Provider.PerceptionStartFaceAuthenticationHandler
- Windows.Devices.Perception.Provider.PerceptionStopFaceAuthenticationHandler
- Windows.Devices.PointOfService.MagneticStripeReader
- Windows.Devices.PointOfService.MagneticStripeReaderAamvaCardDataReceivedEventArgs
- Windows.Devices.PointOfService.MagneticStripeReaderBankCardDataReceivedEventArgs
- Windows.Devices.PointOfService.MagneticStripeReaderCapabilities
- Windows.Devices.PointOfService.MagneticStripeReaderCardTypes
- Windows.Devices.PointOfService.MagneticStripeReaderEncryptionAlgorithms
- Windows.Devices.PointOfService.MagneticStripeReaderErrorOccurredEventArgs
- Windows.Devices.PointOfService.MagneticStripeReaderReport
- Windows.Devices.PointOfService.MagneticStripeReaderStatusUpdatedEventArgs
- Windows.Devices.PointOfService.MagneticStripeReaderTrackData
- Windows.Devices.PointOfService.MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs
- Windows.Devices.Portable.ServiceDevice
- Windows.Devices.Portable.StorageDevice
- Windows.Devices.Printers.Print3DDevice
- Windows.Devices.Printers.PrintSchema
- Windows.Devices.SmartCards.SmartCard
- Windows.Devices.SmartCards.SmartCardConnection
- Windows.Devices.SmartCards.SmartCardReader
- Windows.Foundation.AsyncActionCompletedHandler
- Windows.Foundation.AsyncActionProgressHandler<TProgress>
- Windows.Foundation.AsyncActionWithProgressCompletedHandler<TProgress>
- Windows.Foundation.AsyncOperationCompletedHandler<TProgress>
- Windows.Foundation.Collections.VectorChangedEventHandler<T>
- Windows.Foundation.DeferralCompletedHandler
- Windows.Foundation.Diagnostics.FileLoggingSession
- Windows.Foundation.Diagnostics.LogFileGeneratedEventArgs
- Windows.Foundation.Diagnostics.LoggingActivity
- Windows.Foundation.Diagnostics.LoggingChannel
- Windows.Foundation.Diagnostics.LoggingChannelOptions
- Windows.Foundation.Diagnostics.LoggingFields
- Windows.Foundation.Diagnostics.LoggingOptions
- Windows.Foundation.Diagnostics.LoggingSession
- Windows.Foundation.EventHandler<T>
- Windows.Foundation.MemoryBuffer
- Windows.Globalization.ApplicationLanguages
- Windows.Globalization.JapanesePhoneme
- Windows.Globalization.JapanesePhoneticAnalyzer
- Windows.Globalization.PhoneNumberFormatting.PhoneNumberFormatter
- Windows.Globalization.PhoneNumberFormatting.PhoneNumberInfo
- Windows.Graphics.Imaging.BitmapBuffer
- Windows.Graphics.Imaging.BitmapCodecInformation
- Windows.Graphics.Imaging.BitmapDecoder
- Windows.Graphics.Imaging.BitmapEncoder
- Windows.Graphics.Imaging.BitmapFrame
- Windows.Graphics.Imaging.BitmapProperties
- Windows.Graphics.Imaging.BitmapPropertiesView
- Windows.Graphics.Imaging.BitmapPropertySet
- Windows.Graphics.Imaging.BitmapTransform
- Windows.Graphics.Imaging.BitmapTypedValue
- Windows.Graphics.Imaging.ImageStream
- Windows.Graphics.Imaging.PixelDataProvider
- Windows.Graphics.Imaging.SoftwareBitmap
- Windows.Graphics.Printing3D.Print3DTaskRequestedEventArgs
- Windows.Graphics.Printing3D.Print3DTaskSourceRequestedHandler
- Windows.Graphics.Printing3D.Printing3D3MFPackage
- Windows.Graphics.Printing3D.Printing3DBaseMaterial
- Windows.Graphics.Printing3D.Printing3DBaseMaterialGroup
- Windows.Graphics.Printing3D.Printing3DColorMaterial
- Windows.Graphics.Printing3D.Printing3DColorMaterialGroup
- Windows.Graphics.Printing3D.Printing3DComponent
- Windows.Graphics.Printing3D.Printing3DComponentWithMatrix
- Windows.Graphics.Printing3D.Printing3DCompositeMaterial
- Windows.Graphics.Printing3D.Printing3DCompositeMaterialGroup
- Windows.Graphics.Printing3D.Printing3DFaceReductionOptions
- Windows.Graphics.Printing3D.Printing3DMaterial
- Windows.Graphics.Printing3D.Printing3DMesh
- Windows.Graphics.Printing3D.Printing3DMeshVerificationResult
- Windows.Graphics.Printing3D.Printing3DModel
- Windows.Graphics.Printing3D.Printing3DModelTexture
- Windows.Graphics.Printing3D.Printing3DMultiplePropertyMaterial
- Windows.Graphics.Printing3D.Printing3DMultiplePropertyMaterialGroup
- Windows.Graphics.Printing3D.Printing3DTexture2CoordMaterial
- Windows.Graphics.Printing3D.Printing3DTexture2CoordMaterialGroup
- Windows.Graphics.Printing3D.Printing3DTextureResource
- Windows.Management.Core.ApplicationDataManager
- Windows.Management.Deployment.DeploymentResult
- Windows.Management.Deployment.PackageManager
- Windows.Management.Deployment.PackageUserInformation
- Windows.Management.Deployment.PackageVolume
- Windows.Management.Workplace.MdmPolicy
- Windows.Management.Workplace.WorkplaceSettings
- Windows.Media.AudioBuffer
- Windows.Media.Capture.AdvancedCapturedPhoto
- Windows.Media.Capture.AppCaptureAlternateShortcutKeys
- Windows.Media.Capture.AppCaptureManager
- Windows.Media.Capture.AppCaptureSettings
- Windows.Media.Capture.CapturedFrame
- Windows.Media.Capture.MediaCaptureFailedEventArgs
- Windows.Media.Capture.MediaCaptureFailedEventHandler
- Windows.Media.Capture.MediaCapturePauseResult
- Windows.Media.Capture.MediaCaptureStopResult
- Windows.Media.Capture.OptionalReferencePhotoCapturedEventArgs
- Windows.Media.Capture.RecordLimitationExceededEventHandler
- Windows.Media.ClosedCaptioning.ClosedCaptionProperties
- Windows.Media.Devices.DefaultAudioCaptureDeviceChangedEventArgs
- Windows.Media.Devices.DefaultAudioRenderDeviceChangedEventArgs
- Windows.Media.Devices.MediaDevice
- Windows.Media.DialProtocol.DialApp
- Windows.Media.DialProtocol.DialAppStateDetails
- Windows.Media.DialProtocol.DialDevice
- Windows.Media.FaceAnalysis.DetectedFace
- Windows.Media.FaceAnalysis.FaceDetector
- Windows.Media.FaceAnalysis.FaceTracker
- Windows.Media.MediaExtensionManager
- Windows.Media.MediaProperties.H264ProfileIds
- Windows.Media.MediaProperties.MediaEncodingSubtypes
- Windows.Media.MediaProperties.Mpeg2ProfileIds
- Windows.Media.Ocr.OcrEngine
- Windows.Media.Ocr.OcrLine
- Windows.Media.Ocr.OcrResult
- Windows.Media.Ocr.OcrWord
- Windows.Media.Playback.PlaybackMediaMarker
- Windows.Media.Playback.PlaybackMediaMarkerReachedEventArgs
- Windows.Media.Playback.PlaybackMediaMarkerSequence
- Windows.Media.SpeechRecognition.SpeechContinuousRecognitionCompletedEventArgs
- Windows.Media.SpeechRecognition.SpeechContinuousRecognitionResultGeneratedEventArgs
- Windows.Media.SpeechRecognition.SpeechContinuousRecognitionSession
- Windows.Media.SpeechRecognition.SpeechRecognitionCompilationResult
- Windows.Media.SpeechRecognition.SpeechRecognitionGrammarFileConstraint
- Windows.Media.SpeechRecognition.SpeechRecognitionHypothesis
- Windows.Media.SpeechRecognition.SpeechRecognitionHypothesisGeneratedEventArgs
- Windows.Media.SpeechRecognition.SpeechRecognitionListConstraint
- Windows.Media.SpeechRecognition.SpeechRecognitionQualityDegradingEventArgs
- Windows.Media.SpeechRecognition.SpeechRecognitionResult
- Windows.Media.SpeechRecognition.SpeechRecognitionSemanticInterpretation
- Windows.Media.SpeechRecognition.SpeechRecognitionTopicConstraint
- Windows.Media.SpeechRecognition.SpeechRecognitionVoiceCommandDefinitionConstraint
- Windows.Media.SpeechRecognition.SpeechRecognizer
- Windows.Media.SpeechRecognition.SpeechRecognizerStateChangedEventArgs
- Windows.Media.SpeechRecognition.SpeechRecognizerTimeouts
- Windows.Media.SpeechRecognition.SpeechRecognizerUIOptions
- Windows.Media.SpeechSynthesis.SpeechSynthesisStream
- Windows.Media.SpeechSynthesis.SpeechSynthesizer
- Windows.Media.SpeechSynthesis.VoiceInformation
- Windows.Networking.PushNotifications.PushNotificationChannel
- Windows.Networking.PushNotifications.PushNotificationChannelManager
- Windows.Networking.PushNotifications.PushNotificationReceivedEventArgs
- Windows.Networking.PushNotifications.RawNotification
- Windows.Networking.Sockets.DatagramSocketMessageReceivedEventArgs
- Windows.Networking.Sockets.MessageWebSocketMessageReceivedEventArgs
- Windows.Services.Maps.Guidance.GuidanceAudioNotificationRequestedEventArgs
- Windows.Services.Maps.Guidance.GuidanceLaneInfo
- Windows.Services.Maps.Guidance.GuidanceManeuver
- Windows.Services.Maps.Guidance.GuidanceMapMatchedCoordinate
- Windows.Services.Maps.Guidance.GuidanceNavigator
- Windows.Services.Maps.Guidance.GuidanceReroutedEventArgs
- Windows.Services.Maps.Guidance.GuidanceRoadSegment
- Windows.Services.Maps.Guidance.GuidanceRoadSignpost
- Windows.Services.Maps.Guidance.GuidanceRoute
- Windows.Services.Maps.Guidance.GuidanceTelemetryCollector
- Windows.Services.Maps.Guidance.GuidanceUpdatedEventArgs
- Windows.Services.Maps.LocalSearch.LocalCategories
- Windows.Services.Maps.LocalSearch.LocalLocation
- Windows.Services.Maps.LocalSearch.LocalLocationFinder
- Windows.Services.Maps.LocalSearch.LocalLocationFinderResult
- Windows.Services.Maps.LocalSearch.LocalLocationHoursOfOperationItem
- Windows.Services.Maps.LocalSearch.LocalLocationRatingInfo
- Windows.Services.Maps.MapAddress
- Windows.Services.Maps.MapLocation
- Windows.Services.Maps.MapLocationFinder
- Windows.Services.Maps.MapLocationFinderResult
- Windows.Services.Maps.MapManager
- Windows.Services.Maps.MapRoute
- Windows.Services.Maps.MapRouteDrivingOptions
- Windows.Services.Maps.MapRouteFinder
- Windows.Services.Maps.MapRouteFinderResult
- Windows.Services.Maps.MapRouteLeg
- Windows.Services.Maps.MapRouteManeuver
- Windows.Services.Maps.MapService
- Windows.Services.Store.StoreAcquireLicenseResult
- Windows.Services.Store.StoreAppLicense
- Windows.Services.Store.StoreAvailability
- Windows.Services.Store.StoreCollectionData
- Windows.Services.Store.StoreConsumableResult
- Windows.Services.Store.StoreContext
- Windows.Services.Store.StoreImage
- Windows.Services.Store.StoreLicense
- Windows.Services.Store.StorePackageLicense
- Windows.Services.Store.StorePackageUpdate
- Windows.Services.Store.StorePackageUpdateResult
- Windows.Services.Store.StorePrice
- Windows.Services.Store.StoreProduct
- Windows.Services.Store.StoreProductPagedQueryResult
- Windows.Services.Store.StoreProductQueryResult
- Windows.Services.Store.StoreProductResult
- Windows.Services.Store.StorePurchaseProperties
- Windows.Services.Store.StorePurchaseResult
- Windows.Services.Store.StoreRequestHelper
- Windows.Services.Store.StoreSendRequestResult
- Windows.Services.Store.StoreSku
- Windows.Services.Store.StoreVideo
- Windows.Storage.AccessCache.StorageApplicationPermissions
- Windows.Storage.ApplicationData
- Windows.Storage.ApplicationDataSetVersionHandler
- Windows.Storage.CachedFileManager
- Windows.Storage.DownloadsFolder
- Windows.Storage.FileIO
- Windows.Storage.FileProperties.BasicProperties
- Windows.Storage.FileProperties.DocumentProperties
- Windows.Storage.FileProperties.ImageProperties
- Windows.Storage.FileProperties.MusicProperties
- Windows.Storage.FileProperties.StorageItemContentProperties
- Windows.Storage.FileProperties.StorageItemThumbnail
- Windows.Storage.FileProperties.VideoProperties
- Windows.Storage.KnownFolders
- Windows.Storage.PathIO
- Windows.Storage.StorageFile
- Windows.Storage.StorageFolder
- Windows.Storage.StorageLibrary
- Windows.Storage.StorageProvider
- Windows.Storage.StorageStreamTransaction
- Windows.Storage.StreamedFileDataRequest
- Windows.Storage.StreamedFileDataRequestedHandler
- Windows.Storage.Streams.Buffer
- Windows.Storage.Streams.DataReader
- Windows.Storage.Streams.DataReaderLoadOperation
- Windows.Storage.Streams.DataWriter
- Windows.Storage.Streams.DataWriterStoreOperation
- Windows.Storage.Streams.FileInputStream
- Windows.Storage.Streams.FileOutputStream
- Windows.Storage.Streams.FileRandomAccessStream
- Windows.Storage.Streams.InMemoryRandomAccessStream
- Windows.Storage.Streams.InputStreamOverStream
- Windows.Storage.Streams.OutputStreamOverStream
- Windows.Storage.Streams.RandomAccessStream
- Windows.Storage.Streams.RandomAccessStreamOverStream
- Windows.Storage.Streams.RandomAccessStreamReference
- Windows.Storage.SystemAudioProperties
- Windows.Storage.SystemGPSProperties
- Windows.Storage.SystemImageProperties
- Windows.Storage.SystemMediaProperties
- Windows.Storage.SystemMusicProperties
- Windows.Storage.SystemPhotoProperties
- Windows.Storage.SystemProperties
- Windows.Storage.SystemVideoProperties
- Windows.System.Diagnostics.ProcessCpuUsage
- Windows.System.Diagnostics.ProcessCpuUsageReport
- Windows.System.Diagnostics.ProcessDiagnosticInfo
- Windows.System.Diagnostics.ProcessDiskUsage
- Windows.System.Diagnostics.ProcessDiskUsageReport
- Windows.System.Diagnostics.ProcessMemoryUsage
- Windows.System.Diagnostics.ProcessMemoryUsageReport
- Windows.System.Profile.AnalyticsInfo
- Windows.System.Profile.AnalyticsVersionInfo
- Windows.System.Threading.Core.PreallocatedWorkItem
- Windows.System.Threading.Core.SignalHandler
- Windows.System.Threading.Core.SignalNotifier
- Windows.System.Threading.ThreadPool
- Windows.System.Threading.ThreadPoolTimer
- Windows.System.Threading.TimerDestroyedHandler
- Windows.System.Threading.TimerElapsedHandler
- Windows.System.Threading.WorkItemHandler
- Windows.System.TimeZoneSettings
- Windows.UI.Notifications.BadgeNotification
- Windows.UI.Notifications.BadgeUpdateManager
- Windows.UI.Notifications.BadgeUpdater
- Windows.UI.Notifications.ScheduledTileNotification
- Windows.UI.Notifications.ScheduledToastNotification
- Windows.UI.Notifications.TileNotification
- Windows.UI.Notifications.TileUpdateManager
- Windows.UI.Notifications.TileUpdater
- Windows.UI.Notifications.ToastNotificationHistory
- Windows.UI.StartScreen.JumpList
- Windows.UI.StartScreen.JumpListItem
In addition, when called from a desktop app that doesn't have package identity, the AdaptiveMediaSource.CreateFromUriAsync methods don't support the ms-appx
and ms-resource
URI formats.
Windows developer