Property System Code Samples

This section describes the individual property samples included in the Windows Software Development Kit (SDK) and, in most cases, downloadable from the MSDN Code Gallery.

Windows SDK Locations

When you download and install the Windows 7 SDK, samples are included in that installation. Use of the default SDK installation path results in the samples being placed under C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\. Using the default installation path, the Shell samples listed below are found in the following folders:

  • C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\WinUI\Shell\AppPlatform
  • C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\WinUI\Shell\AppShellIntegration
  • C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\WinUI\Shell\LegacySamples
  • C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\WinUI\Shell\ShellExtensibility

Shell samples can also be individually downloaded through the MSDN Code Gallery. Most property samples listed below can be found on the following pages:

Shell Samples

Topic Contents
Ideal Property Handler Sample Demonstrates the implementation of an ideal property handler for an OleDoc file format (.docfile-ms) or a fictional OpenMetadata format (.openmetadata-ms) which supports reading and writing properties and custom schema.
Playlist Property Handler Sample Demonstrates the implementation of a property handler for the .wpl and .zpl playlist file formats.
Property Edit Sample Demonstrates how to use the Windows Property System APIs to read and write file property values.
Property Schema Sample Demonstrates how to register and unregister, custom properties and how to get detailed information about custom property schemas that are already registered with the system.
Recipe Property Handler Sample Demonstrates the implementation of a property handler for custom format recipe (.recipe) files.


Property System Overview

Windows Property System Developer's Guide

Property System Reference