共用方式為


Shell Library Backup Sample

Demonstrates how to enumerate libraries as containers. Libraries are the new storage paradigm for user files and are introduced in Windows 7.

This topic contains the following sections.

  • Description
  • Requirements
  • Downloading the Sample
  • Building the Sample
  • Running the Sample

Description

This sample is a fictional backup application that shows how to pick libraries through the common file dialog. It also demonstrates how to back up libraries using the Shell namespace walker.

Requirements

Product Minimum Product Version
Windows Windows 7
Windows Software Development Kit (SDK) 7.0

 

For additional requirements, see the Readme file included with the sample.

Downloading the Sample

This sample is available in the following locations.

Location Path URL
Code Gallery Windows Shell Application Samples on Code Gallery
Windows 7 SDK Download Windows 7 SDK

 

In the case of the Windows SDK, once you have downloaded and installed it, you will find the samples in the installed directory. For example, use of the default installation path for the Windows 7 SDK results in the samples being placed under C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\.

Building the Sample

For instructions about how to build the sample, see the Readme file included with the sample.

Running the Sample

For instructions about how to build the sample, see the Readme file included with the sample.