<!---
samplefwlink: http://go.microsoft.com/fwlink/p/?LinkId=619979
--->
# Universal Windows Platform (UWP) app samples
This repo contains the samples that demonstrate the API usage patterns for the Universal Windows Platform (UWP) in the Windows Software Development Kit (SDK) for Windows 10. These code samples were created with the Universal Windows Platform templates available in Visual Studio, and are designed to run on desktop, mobile, and future devices that support the Universal Windows Platform.
> **Note:** If you are unfamiliar with Git and GitHub, you can download the entire collection as a
> [ZIP file](https://github.com/Microsoft/Windows-universal-samples/archive/main.zip), but be
> sure to unzip everything to access shared dependencies. For more info on working with the ZIP file,
> the samples collection, and GitHub, see [Get the UWP samples from GitHub](https://aka.ms/ovu2uq).
> For more samples, see the [Samples portal](https://aka.ms/winsamples) on the Windows Dev Center.
## Universal Windows Platform development
These samples require Visual Studio and the Windows Software Development Kit (SDK) for Windows 10.
[Get a free copy of Visual Studio Community Edition with support for building Universal Windows Platform apps](http://go.microsoft.com/fwlink/p/?LinkID=280676)
Additionally, to stay on top of the latest updates to Windows and the development tools, become a Windows Insider by joining the Windows Insider Program.
[Become a Windows Insider](https://insider.windows.com/)
## Using the samples
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the following link or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in Visual Studio.
[Download the samples ZIP](../../archive/main.zip)
**Notes:**
* Before you unzip the archive, right-click it, select **Properties**, and then select **Unblock**.
* Be sure to unzip the entire archive, and not just individual samples. The samples all depend on the SharedContent folder in the archive.
* In Visual Studio, the platform target defaults to ARM, so be sure to change that to x64 or x86 if you want to test on a non-ARM device.
The samples use Linked files in Visual Studio to reduce duplication of common files, including sample template files and image assets. These common files are stored in the SharedContent folder at the root of the repository, and are referred to in the project files using links.
**Reminder:** If you unzip individual samples, they will not build due to references to other portions of the ZIP file that were not unzipped. You must unzip the entire archive if you intend to build the samples.
For more info about the programming models, platforms, languages, and APIs demonstrated in these samples, please refer to the guidance, tutorials, and reference topics provided in the Windows 10 documentation available in the [Windows Developer Center](http://go.microsoft.com/fwlink/p/?LinkID=532421). These samples are provided as-is in order to indicate or demonstrate the functionality of the programming models and feature APIs for Windows.
## Contributions
These samples are direct from the feature teams and we welcome your input on issues and suggestions for new samples. At this time we are not accepting new samples from the public, but check back here as we evolve our contribution model.
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information, see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
## See also
For additional Windows samples, see [Windows on GitHub](http://microsoft.github.io/windows/).
## Samples by category
### App settings
<table>
<tr>
<td><a href="Samples/Package">App package information</a></td>
<td><a href="Samples/ApplicationData">Application data</a></td>
<td><a href="Samples/Store">Store</a></td>
</tr>
</table>
### Audio, video, and camera
<table>
<tr>
<td><a href="Samples/360VideoPlayback">360-degree video playback</a></td>
<td><a href="Samples/AdaptiveStreaming">Adaptive streaming</a></td>
<td><a href="Samples/CameraAdvancedCapture">Advanced capture</a></td>
</tr>
<tr>
<td><a href="Samples/AdvancedCasting">Advanced casting</a></td>
<td><a href="Samples/AudioCategory">Audio categories</a></td>
<td><a href="Samples/AudioCreation">Audio graphs</a></td>
</tr>
<tr>
<td><a href="Samples/BackgroundMediaPlayback">Background media playback</a></td>
<td><a href="Samples/CameraStarterKit">Basic camera app</a></td>
<td><a href="Samples/BasicFaceDetection">Basic face detection</a></td>
</tr>
<tr>
<td><a href="Samples/BasicFaceTracking">Basic face tracking</a></td>
<td><a href="Samples/BasicMediaCasting">Basic media casting</a></td>
<td><a href="Samples/CameraFaceDetection">Camera face detection</a></td>
</tr>
<tr>
<td><a href="Samples/CameraFrames">Camera frames</a></td>
<td><a href="Samples/CameraGetPreviewFrame">Camera preview frame</a></td>
<td><a href="Samples/CameraProfile">Camera profiles</a></td>
</tr>
<tr>
<td><a href="Samples/CameraResolution">Camera resolution</a></td>
<td><a href="Samples/CameraStreamCoordinateMapper">Camera stream coordinate mapper</a></td>
<td><a href="Samples/CameraStreamCorrelation">Camera stream correlation</a></td>
</tr>
<tr>
<td><a href="Samples/LiveDash">DASH streaming</a></td>
<td><a href="Samples/D2DPhotoAdjustment">Direct2D photo adjustment</a></td>
<td><a href="Samples/MediaEditing">Media editing</a></td>
</tr>
<tr>
<td><a href="Samples/MediaImport">Media import</a></td>
<td><a href="Samples/XamlCustomMediaTransportControls">Media transport controls</a></td>
<td><a href="Samples/MIDI">MIDI</a></td>
</tr>
<tr>
<td><a href="Samples/Playlists">Playlists</a></td>
<td><a href="Samples/PlayReady">PlayReady</a></td>
<td><a href="Samples/CameraOpenCV">Processing frames with OpenCV</a></td>
</tr>
<tr>
<td><a href="Samples/SimpleImaging">Simple imaging</a></td>
<td><a href="Samples/SpatialSound">Spatial audio</a></td>
<td><a href="Samples/SystemMediaTransportControls">System media transport controls</a></td>
</tr>
<tr>
<td><a href="Samples/MediaTranscoding">Transcoding media</a></td>
<td><a href="Samples/VideoPlayback">Video playback</a></td>
<td><a href="Samples/VideoPlaybackSynchronization">Video playback synchronization</a></td>
</tr>
<tr>
<td><a href="Samples/CameraVideoStabilization">Video stabilization</a></td>
<td><a href="Samples/WindowsAudioSession">Windows audio session (WASAPI)</a></td>
</tr>
</table>
### Communications
<table>
<tr>
<td><a href="Samples/BluetoothRfcommChat">Bluetooth RFCOMM chat</a></td>
<td><a href="Samples/SimpleCommunication">Real-time communication</a></td>
<td><a href="Samples/SmsSendAndReceive">SMS send and receive</a></td>
</tr>
</table>
### Contacts and calendar
<table>
<tr>
<td><a href="Samples/Appointments">Appointment calendar</a></td>
<td><a href="Samples/ContactCards">Contact cards</a></td>
<td><a href="Samples/ContactPanel">Contact panel</a></td>
</tr>
<tr>
<td><a href="Samples/ContactPicker">Contact picker</a></td>
<td><a href="Samples/UserDataAccountManager">UserDataAccountManager</a></td>
</tr>
</table>
### Controls, layout, and text
<table>
<tr>
<td><a href="Samples/3DPrinting">3D Printing</a></td>
<td><a href="Samples/3DPrintingFromUnity">3D Printing from Unity</a></td>
<td><a href="Samples/XamlBottomUpList">Bottom-up list (XAML)</a></td>
</tr>
<tr>
<td><a href="Samples/Clipboard">Clipboard</a></td>
<td><a href="Samples/DWriteColorGlyph">Colored glyphs (DirectWrite)</a></td>
<td><a href="Samples/XamlCommanding">Commanding</a></td>
</tr>
<tr>
<td>
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Windows-universal-samples:通用Windows平台的示例.2024年最新版,取自于github微软库 (2000个子文件)
Scenario2_MultipleScanners.xaml.cpp 20KB
Scenario4_ForegroundGeofenceHelpers.cpp 18KB
Scenario5_DisplayingBarcodePreview.xaml.cpp 17KB
Scenario2_DetectInWebcam.xaml.cpp 16KB
Scenario4_ForegroundGeofence.xaml.cpp 16KB
LocationBackgroundTask.cpp 14KB
Scenario1_TrackInWebcam.xaml.cpp 14KB
Scenario4_SymbologyAttributes.xaml.cpp 14KB
Scenario5_GeofenceBackgroundTask.xaml.cpp 11KB
Scenario1_DetectInPhoto.xaml.cpp 10KB
Scenario3_BackgroundTask.xaml.cpp 10KB
Scenario8_VisitsBackgroundTask.xaml.cpp 10KB
Scenario15_ServerCertificateValidation.xaml.cpp 9KB
Scenario3_ActiveSymbologies.xaml.cpp 8KB
Scenario1_TrackPosition.xaml.cpp 8KB
Scenario1_BasicFunctionality.xaml.cpp 8KB
Scenario12_DisableCookies.xaml.cpp 7KB
HttpRetryFilter.cpp 7KB
KeepConnectionOpenScenario.xaml.cpp 7KB
Scenario2_GetPosition.xaml.cpp 7KB
Scenario7_PostStreamWithProgress.xaml.cpp 7KB
Scenario1_GetText.xaml.cpp 7KB
VisitBackgroundTask.cpp 7KB
StreamUriResolver.cpp 6KB
Scenario2_WatchUsers.xaml.cpp 6KB
Scenario5_PostStream.xaml.cpp 6KB
Scenario7_ForegroundVisits.xaml.cpp 6KB
Helpers.cpp 6KB
Scenario9_GetCookie.xaml.cpp 6KB
OpenCloseConnectionScenario.xaml.cpp 6KB
Scenario1_Setup.xaml.cpp 6KB
DetailPage.xaml.cpp 5KB
Scenario1_FindUsers.xaml.cpp 5KB
Scenario2_GetStream.xaml.cpp 5KB
Scenario3_GetList.xaml.cpp 5KB
Scenario14_MeteredConnectionFilter.xaml.cpp 5KB
HttpJsonContent.cpp 5KB
scenarioinput2.xaml.cpp 5KB
Scenario6_GetLastVisit.xaml.cpp 4KB
Scenario13_RetryFilter.xaml.cpp 4KB
HttpMeteredConnectionFilter.cpp 4KB
MasterDetailPage.xaml.cpp 4KB
Scenario8_PostCustomContent.xaml.cpp 4KB
Scenario6_PostMultipart.xaml.cpp 4KB
scenarioinput1.xaml.cpp 4KB
App.xaml.cpp 4KB
Scenario4_PostText.xaml.cpp 4KB
MainPage.xaml.cpp 3KB
Scenario10_SetCookie.xaml.cpp 3KB
Scenario3_InterstitialAd.xaml.cpp 3KB
RandomNumberGeneratorTask.cpp 3KB
scenariolist.xaml.cpp 3KB
Payload.xaml.cpp 3KB
Scenario2_ProgramaticAdControl.xaml.cpp 3KB
Scenario11_DeleteCookie.xaml.cpp 2KB
ItemsDataSource.cpp 2KB
SampleConfiguration.cpp 2KB
RpcClientRt.cpp 2KB
Scenario1_ToggleRadios.xaml.cpp 2KB
SlowInputStream.cpp 2KB
scenariooutput2.xaml.cpp 2KB
scenariooutput1.xaml.cpp 2KB
RadioModel.cpp 2KB
WinRTSharedObject.cpp 2KB
GeofenceItem.cpp 2KB
App.xaml.cpp 2KB
PlugInFilter.cpp 2KB
localcache.cpp 2KB
Scenario3_Transliteration.xaml.cpp 2KB
Scenario1_LanguageDetection.xaml.cpp 2KB
SampleConfiguration.cpp 1KB
Scenario1_XamlAdControl.xaml.cpp 1KB
SampleConfiguration.cpp 1KB
Scenario2_ScriptDetection.xaml.cpp 1KB
SmbiosRT.cpp 1KB
SampleConfiguration.cpp 1KB
Scenario2_Disable.xaml.cpp 1KB
WinRTToastNotificationWrapper.cpp 1KB
SampleConfiguration.cpp 957B
SampleConfiguration.cpp 916B
SampleConfiguration.cpp 896B
ShowPackageFamilyName.xaml.cpp 850B
SampleConfiguration.cpp 797B
SampleConfiguration.cpp 796B
SampleConfiguration.cpp 731B
SampleConfiguration.cpp 726B
SampleConfiguration.cpp 721B
ItemViewModel.cpp 713B
Scenario8_OffsetSpritesheets.xaml.cpp 647B
Scenario4_TelIdentification.xaml.cpp 644B
Scenario3_RemoteAssets.xaml.cpp 629B
Scenario7_Spritesheets.xaml.cpp 626B
Scenario5_RemoteId.xaml.cpp 617B
Scenario1_Enable.xaml.cpp 614B
Scenario2_Basic.xaml.cpp 605B
Scenario6_Gifs.xaml.cpp 603B
pch.cpp 560B
pch.cpp 545B
pch.cpp 545B
SampleConfiguration.cpp 474B
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
goethe
- 粉丝: 27
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Docker容器配置进阶
- tensorflow-gpu-2.7.4-cp37-cp37m-manylinux2010-x86-64.whl
- 多段线、 圆、弧转多段线(仅我可见)
- tensorflow-2.7.2-cp38-cp38-manylinux2010-x86-64.whl
- yeyue-p8Yi4-ve4a83792.apk
- tensorflow-gpu-2.7.3-cp38-cp38-manylinux2010-x86-64.whl
- 五相感应电机矢量控制模型MATLAB
- RGLED (1) (1).circ
- IMG_20240427_215747.jpg
- python下前端WEB学习笔记
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功