Navigation Menu

Skip to content

Commit

Permalink
Fix file encoding, add Open Source Code of Conduct, add back DesktopT…
Browse files Browse the repository at this point in the history
…oasts


* Convert files from UTF-16 to UTF-8 or ASCII as appropriate,
  because core.autocrlf doesn't support UTF-16. Files that must
  remain UTF-16 are marked as binary to prevent core.autocrlf
  from trying to interpret them as UTF-8.
* Add Microsoft Open Source Code of Conduct statement.
* Add DesktopToasts sample back to this repo.
  • Loading branch information
Windows classic samples committed Jun 23, 2016
1 parent 8f31b1f commit 22b652b
Show file tree
Hide file tree
Showing 309 changed files with 1,551 additions and 1,244 deletions.
37 changes: 32 additions & 5 deletions README.md
@@ -1,12 +1,39 @@
# Windows classic samples

This repo contains samples that demonstrate the API used in Windows classic desktop applications.
This repo contains samples that demonstrate
the API used in Windows classic desktop applications.

These samples in order to indicate or demonstrate the functionality of the programming models and feature APIs for Windows and/or Windows Server. This repo provides a Visual Studio solution (SLN) file for each sample, along with the source files, assets, resources, and metadata needed to compile and run the sample. For more info about the programming models, platforms, languages, and APIs demonstrated in these samples, check out the documentation on the [Windows Dev Center](https://dev.windows.com).
These samples demonstrate the functionality and programming model
for Windows and Windows Server.
This repo contains Visual Studio solution (SLN) files for each sample,
along with the source files, assets, resources, and metadata
needed to compile and run the sample.
For more info about the programming models, platforms, languages,
and APIs demonstrated in these samples,
check out the documentation on the
[Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421).

Most of these samples were created for Windows 8.1 and/or Windows Server 2012 R2 using Visual Studio 2013, but some were created with earlier versions, or with specific SKU and other requirements. In many cases, the samples will also work on later versions than the ones indicated. If you cannot get a sample to work as expected, it might have platform, version, or SKU-specific requirements. If you have any issues with the samples, please provide feedback using the Issues list.
Most of these samples were created
for Windows 7, Windows 8.1 and/or Windows Server 2012 R2
using Visual Studio 2013,
but some were created with earlier versions,
or with specific SKU and other requirements.
In many cases, the samples will also work on later versions than the ones indicated.
If you cannot get a sample to work as expected,
it might have platform, version, or SKU-specific requirements.
If you have any issues with the samples, please provide feedback using the Issues list.

To get a copy of Windows, go to [Downloads and tools](http://go.microsoft.com/fwlink/p/?linkid=301696).
To get a copy of Windows, go to
[Downloads and tools](http://go.microsoft.com/fwlink/p/?linkid=301696).

To get a copy of Visual Studio, go to [Visual Studio Downloads](http://go.microsoft.com/fwlink/p/?linkid=301697).
To get a copy of Visual Studio, go to
[Visual Studio Downloads](http://go.microsoft.com/fwlink/p/?linkid=301697).

Other samples repos:

- [Windows Universal Samples (UWP)](https://github.com/Microsoft/Windows-universal-samples)
- [Desktop Bridge to Universal Windows Platform (UWP)](https://github.com/Microsoft/DesktopBridgeToUWP-Samples)

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.
Binary file modified Samples/CaptureEngineVideoCapture/cpp/Capture.rc
Binary file not shown.
Binary file modified Samples/CaptureEngineVideoCapture/cpp/resource.h
Binary file not shown.
Binary file modified Samples/CredentialProvider/cpp/Unregister.reg
Binary file not shown.
Binary file modified Samples/CredentialProvider/cpp/register.reg
Binary file not shown.
Binary file modified Samples/DPIAwarenessPerMonitor/cpp/DPITutorial.rc
Binary file not shown.
17 changes: 17 additions & 0 deletions Samples/DesktopToasts/.gitattributes
@@ -0,0 +1,17 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
203 changes: 203 additions & 0 deletions Samples/DesktopToasts/.gitignore
@@ -0,0 +1,203 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
[Gg]enerated Files/
x64/
x86/
build/
bld/
[Bb]in/
[Oo]bj/

# Visual Studo 2015 cache/options directory
.vs/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

# NUNIT
*.VisualState.xml
TestResult.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Chutzpah Test files
_Chutzpah*

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# TFS 2012 Local Workspace
$tf/

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# JustCode is a .NET coding addin-in
.JustCode

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
_NCrunch_*
.*crunch*.local.xml

# MightyMoose
*.mm.*
AutoTest.Net/

# Web workbench (sass)
.sass-cache/

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj

# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config

# Windows Azure Build Output
csx/
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
*.[Cc]ache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/
bower_components/

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
*.mdf
*.ldf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings

# Microsoft Fakes
FakesAssemblies/

# Node.js Tools for Visual Studio
.ntvs_analysis.dat

# Visual Studio 6 build log
*.plg

# Visual Studio 6 workspace options file
*.opt

# Custom ignores
gallery.xml
project.lock.json

0 comments on commit 22b652b

Please sign in to comment.