Win32 and COM for Windows Store apps

58 out of 102 rated this helpful - Rate this topic

Windows Store apps can use a subset of the Win32 and COM API. This subset of APIs was chosen to support key scenarios for Windows Store 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 Store apps for Windows.

Windows API documentation and header files

The documentation for each programming element in the Windows API indicates whether it can be used in a Windows Store app. See the "Applies to" line at the top of the page.

The subset of the Windows API that can be used in a Windows Store app is indicated in the header files in the Windows Software Development Kit (SDK) for Windows 8. Look for the following statements in the Windows header files.


#pragma region Application Family
#pragma region Desktop Family

The first statement indicates that the API defined in this region can be used in a Windows Store app and a desktop app. The second statement indicates that the API defined in this region can be used only in a desktop app.

The compiler and object browser in Microsoft Visual Studio Express 2012 for Windows 8 use these statements to determine whether to show or hide a Win32 or COM API element.

In this section

 

 

Build date: 11/22/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.