Learn which features of the Windows API can be used in a Windows Store app and which APIs to use as alternatives for those that cannot.
App installation
None of the existing app installation APIs are supported in a Windows Store app. Here's some alternatives to the app installation APIs:
- App packages
- Packaging and deployment API
- Windows.ApplicationModel.Package class
- Windows.Management.Deployment namespace
Devices
A subset of the device APIs is supported in a Windows Store app. For more info, see Win32 and COM for Windows Store apps (devices).
Here's some alternatives to device APIs that can't be used in a Windows Store app.
| Feature | Alternative |
|---|---|
| Bluetooth | Windows.Networking.Proximity |
| Device enumeration (Function Discovery, PnP-X, WSD) | Windows.Devices.Enumeration |
| FAX | none |
| Location API | Windows.Devices.Geolocation |
| Windows.Graphics.Printing | |
| Sensors | Windows.Devices.Sensors |
| Serial and parallel ports | none |
| SMS | Windows.Devices.Sms |
| UPnP | Windows.Devices.Enumeration.Pnp |
| Windows Portable Devices | Windows.Devices.Portable |
| WSD | Windows.Devices.Enumeration |
Graphics
Subsets of these graphics APIs are at least partially supported in a Windows Store app:
- Direct2D
- Direct3D 11
- DirectWrite
- DirectXMath
- DXGI
- WIC
For more info, see Win32 and COM for Windows Store apps (graphics).
When designing a Windows Store app, you'll likely want to use HTML5 or XAML to display graphics. For more info, see:
- Displaying graphics (XAML)
- Using graphics with canvas, SVG, and CSS3 (HTML)
Multimedia
Subsets of these multimedia APIs are at least partially supported in a Windows Store app:
- Core audio
- Media Playback
- Media Foundation
- Windows Audio Session API (WASAPI)
For more info, see Win32 and COM for Windows Store apps (multimedia).
When designing a Windows Store app, you'll likely use HTML5 or XAML to integrate media. For more info, see:
Networking
Subsets of these networking APIs are at least partially supported in a Windows Store app:
- DHCP app
- Mobile Broadband
- RPC
- Windows Web Services
For more info, see Win32 and COM for Windows Store apps (networking).
Here's some alternatives to networking APIs that can't be used in a Windows Store app.
| Feature | Alternative |
|---|---|
| BITS | Windows.Networking.BackgroundTransfer |
| DHCP connectivity | none |
| EAP | none |
| Firewall | none |
| HTTP server | none |
| IP Helper | none |
| NDF | none |
| NLM | Windows.Networking.Connectivity |
| P2P | none |
| QOS | Windows.Networking.Sockets |
| RAS | none |
| SNMP | none |
| TAPI | none |
| WinHTTP | none |
| WinINet | none |
| Winsock | Windows.Networking.Sockets |
Printing and documents
A subset of the printing and documents APIs is supported in a Windows Store app. For more info, see Win32 and COM for Windows Store apps (printing and documents).
When designing a Windows Store app, you'll want to provide the best printing experience:
Security
None of the existing security APIs are supported in a Windows Store app. Here's some alternatives to the security APIs:
- Windows.Security.Credentials
- Windows.Security.Credentials.UI
- Windows.Security.Cryptography
- Windows.Security.Cryptography.Certificates
- Windows.Security.Cryptography.Core
- Windows.Security.Cryptography.DataProtection
Storage
Subsets of these storage APIs are at least partially supported in a Windows Store app:
- Directory create, delete, and enumerate
- File mapping
For more info, see Win32 and COM for Windows Store apps (data).
Here's some alternatives to storage APIs that can't be used in a Windows Store app.
| Feature | Alternative |
|---|---|
| File copy, move, and replace | Windows.Storage.StorageFile |
| Directory create, delete, and enumerate | Windows.Storage.StorageFolder |
| IMAPI | none |
| Management (mount points, format, quotas) | none |
| Oplocks | none |
| Search | Windows.Storage.Search |
| USN journal | none |
System
Subsets of these system APIs are at least partially supported in a Windows Store app:
- Heap API, thread local storage (TLS)
- Last error
- Synchronization
For more info, see Win32 and COM for Windows Store apps (system).
Here's some alternatives to system APIs that can't be used in a Windows Store app.
| Feature | Alternative |
|---|---|
| Console | none |
| Current directory | none |
| Fibers | none |
| Memory manager | Heap API |
| Named pipes | none |
| Power | none |
| Registry | |
| Thread pool | Windows.System.Threading |
| Threads | Windows.System.Threading |
User interface
Subsets of these user interface APIs are at least partially supported in a Windows Store app:
- National Language Support (NLS)
- Strsafe functions
- Text Services Framework (TSF)
- UI automation
- Windows Animation Manager
For more info, see Win32 and COM for Windows Store apps (user interface).
Here's some alternatives to user interface APIs that can't be used in a Windows Store app.
| Feature | Alternative |
|---|---|
| Common controls | HTML, XAML |
| DDE/NetDDE | none |
| DWM | none |
| File Open, File Save | |
| IMM | TSF |
| Magnifier | none |
| MSAA | UI automation |
| NLS | |
| RichEdit | HTML, XAML |
| Theming | HTML, CSS, XAML |
| Touch | Windows.UI.Input |
| User: carets | framework or app to draw |
| User: cursors | Windows.UI.Core.CoreCursor |
| User: clipboard | Windows.ApplicationModel.DataTransfer.Clipboard |
| User: controls | HTML, XAML |
| User: display | Windows.Graphics.Display |
| User: high DPI | apps are DPI aware |
| User: hooks | none |
| User: icons | apps represented by tiles |
| User: keyboard accel | Windows.UI.Core.CoreAcceleratorKeys |
| User: keyboard input | Windows.Devices.Input |
| User: MDI | none |
| User: messages | events and notifications |
| User: mouse input | Windows.Devices.Input |
| User: multimon | single monitor |
| User: SystemParametersInfo | Windows.Devices.Input |
| User: strings | strsafe functions |
| User: timers | none |
| User: shutdown | none |
| User: windowing | |
| Windows Animation Manager | Windows.UI.Core.AnimationMetrics |
| Windows Ribbon | HTML, XAML |
Related topics
Build date: 11/22/2012