Win32 and COM for Windows Runtime apps
Windows Runtime apps can use a subset of the Win32 and COM API. This subset of APIs was chosen to support key scenarios for Windows Runtime apps that were not already covered by the Windows Runtime, HTML/CSS, or other supported languages or standards. The Windows App Certification Kit ensures that your app uses only this subset of the Win32 and COM API.
The following topics list the Win32 and COM API elements that are provided for developing Windows Runtime apps for Windows.
The documentation for each programming element in the API indicates whether it can be used in a Windows Runtime app. See the "Applies to" line at the top of the page.
In addition, the subset of the Windows API that can be used in a Windows Runtime app is indicated in the header files in the Windows Software Development Kit (SDK) for Windows 8.1. Look for the following statements in the Windows header files.
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_PC_APP) #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_PHONE_APP) #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
These statements respectively indicate whether the API in the defined region can be used in Windows Store apps, Windows Runtime apps, both, or neither (desktop only).
The compiler and object browser in Microsoft Visual Studio use these statements to determine whether to show or hide a Win32 or COM API element.
- Printing and documents
- User interface
- Alphabetical list of Win32 and COM API
- Alternatives to Windows APIs