Storage Device Design Pattern JEFF MEISSNER; KEN HARDY Windows Program Management.

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Windows 7 Training. Windows ® 7 Compatibility Session 0 Isolation Isolation of Windows 7 Services.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Reprint Outstanding Transactions Report © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Purchase Requisitions - Requester © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Co- location Mass Market Managed Hosting ISV Hosting.
 Jason Roberts Program Manager Microsoft Corporation PC44.
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
Feature: Purchase Order Prepayments II © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: OLE Notes Migration Utility
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: SmartList Usability Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 Rico Mariani Architect Microsoft Corporation.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
WinHEC /22/2017 © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Print Remaining Documents © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Connect with life Connect with life
Windows Azure Connect Name Title Microsoft Corporation.
NEXT: Overview – Sharing skills & code.
demo Receive Inventory Export Parse and Normalize.
91% of windows users have devices …but the Windows device experience has been limited…
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Document Attachment –Replace OLE Notes © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Suggested Item Enhancements – Sales Script and Additional Information © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Ian Ellison-Taylor General Manager Microsoft Corporation PC27.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
The CLR CoreCLRCoreCLR © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
04 | Business Analyzer Brian Meier| Senior Lead Program Manager.

Building a great Metro style device app for your printer
Возможности Excel 2010, о которых следует знать
Understanding Wi-Fi Direct in Windows 8
Building Metro style apps that connect to specialized devices
Design Patterns for Connected Specialized Devices
Title of Presentation 11/22/2018 3:34 PM
Office Mac /30/2018 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Title of Presentation 12/2/2018 3:48 PM
File type associations and AutoPlay
Introducing Metro style device apps
Feature: Document Attachment - Flow from Master Records
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Under the hood: Installation and updates for Metro style apps
Title of Presentation 5/12/ :53 PM
Шитманов Дархан Қаражанұлы Тарих пәнінің
Title of Presentation 5/24/2019 1:26 PM
5/24/2019 6:44 PM 1/8/18 Bell #10 In a world governed by the gods, is there any room for human will? Do human choices make a difference? EXPLAIN © 2007.
日本初公開!? Vista の新機能を実演 とっちゃん わんくま同盟 7/23/2019 9:09 AM
Presentation transcript:

Storage Device Design Pattern JEFF MEISSNER; KEN HARDY Windows Program Management

26/29/2011 MICROSOFT CONFIDENTIAL Agenda Storage Pattern Overview Examples Windows.Storage Namespace AutoPlay Device Configuration Summary Resources

36/29/2011 MICROSOFT CONFIDENTIAL A Design Pattern represents the programming model a Metro style app can use to communicate with a Specialized Connected Device. Choose the best Design Pattern for your device based upon the underlying protocol you use to communicate with it. Design Pattern Connectivity DescriptionAPI Networked Connected over a Wi-Fi network. Sends and receives data over TCP-IP.Windows.Networking Removable Storage Externally connected over USB. Can send and receive files from a device.Windows.Storage Portable Device Externally connected over USB. Connected over a Wi-Fi or Bluetooth network. Intelligent device that transfers objects with properties and methods. Windows Portable Device WDF Custom Driver Access Externally connected over USB. Or connected over a Bluetooth network. Transfers commands and data using device IO control. Device Access IDeviceIoContrlol Design Pattern Connectivity DescriptionAPI Removable Storage Externally connected over USB. Can send and receive files from a device.Windows.Storage Specialized Device Design Patterns

46/29/2011 MICROSOFT CONFIDENTIAL Removable Storage Pattern Functionality represented as files in a file system Information transferred to/from Windows with simple file access Protocols: USB Mass Storage Class; Media Transfer Protocol (MTP) Transport: USB API: Windows.Storage AdvantagesDisadvantages Low cost, standard hardwareNo control over which apps access the device Uses class driver Supported on ‘Windows RT’ Support for AutoPlay

56/29/2011 MICROSOFT CONFIDENTIAL Removable Storage Pattern Digital camera stores videos as files in its flash memory. When device is connected to Windows 8, the companion app launches and allows users to import and edit the content, apply filters & effects, and/or post directly to their favorite social media outlet. Acquisition Scenarios: Automatic Acquisition, Windows Store Download Device Discovery: Devices.Enumeration; AutoPlay Device Access: Windows.Storage EXAMPLE Device Device metadata Metro style app + meta app +

66/29/2011 MICROSOFT CONFIDENTIAL Windows.Storage Namespace Used to manage files, folders, and app settings Standard way to access storage devices and volumes in the Windows Runtime

76/29/2011 MICROSOFT CONFIDENTIAL Windows.Storage Namespace SUPPORTED INTERFACES InterfaceDescription IStorageFileRepresents a file. Provides information about the file and its contents, and ways to manipulate them. IStorageFolderManipulates folders and their contents, and provides information about them. IStorageItemManipulates storage items (files and folders) and their contents, and provides information about them. IStorageItemPropertiesProvides access to common and content properties on items (like files and folders). IStreamedFileDataRequest Represents a sequential-access output stream that indicates a request for the data stream of a StorageFile that was created by calling CreateStreamedFileAsync or ReplaceWithStreamedFileAsync.

86/29/2011 MICROSOFT CONFIDENTIAL App Manifest Support the Removable Storage Capability File Type Associations Register as an AutoPlay handler MANIFEST DECLARATIONS TO SUPPORT THESE SCENARIOS

96/29/2011 MICROSOFT CONFIDENTIAL AutoPlay in Windows 8 Opt out completely Standard behavior General storage Content-type Recommend an app Custom events Using AutoRun.INF

106/29/2011 MICROSOFT CONFIDENTIAL Opting out of AutoPlay Behavior New for Windows 8 Useful on devices with multiple volumes Behavior specified in AUTORUN.INF [autorun] UseAutoPlay=0 Windows will ignore this volume for AutoPlay Also disables any AutoRun behavior specified in AUTORUN.INF TO OPT OUT OF AUTOPLAY AUTORUN.INF IS REQUIRED

116/29/2011 MICROSOFT CONFIDENTIAL Standard AutoPlay Behavior DEVICE WITHOUT METADATA OR AUTORUN.INF BEHAVIOR DEFINED Initial device connection receives an AutoPlay toast Lists all handlers for these types of devices in the fly out User can ignore new choices When new handlers are installed the user is prompted again

126/29/2011 MICROSOFT CONFIDENTIAL Recommended App Behavior DEVICE COMPANION APP IS INSTALLED Behavior is defined in the Metadata Displays recommended app name and icon if available Displays progress until app has completed downloading

136/29/2011 MICROSOFT CONFIDENTIAL Custom Event Behavior Define custom event in AutoRun.INF on the device [autorun] CustomEvent = eventname Support the custom event in manifest of the companion app Does not guarantee uniqueness If this is defined, no other handlers are offered DEVICE AND APP USE CUSTOM EVENTS

146/29/2011 MICROSOFT CONFIDENTIAL Configuring a Device Device metadata configures behavior Define a device companion app Define a recommended AutoPlay action Define a recommended AutoPlay app Note that the default behavior where no Metadata is provided is to launch AutoPlay Registering a device for AutoPlay Device registration is the same as Windows 7 Desktop application registrations are the same as Windows 7 WINDOWS 8 BEHAVIOR UPON DEVICE ARRIVAL

156/29/2011 MICROSOFT CONFIDENTIAL Supporting Multiple Platforms Device Stage experiences will continue to work in Windows 8 Same Metadata package can be used for both Windows 7 and Windows 8 Metadata allows both a device app recommendation AND a Device Stage experience When both are defined, Windows 8 will choose the device app recommendation WINDOWS 8 BEHAVIOR UPON DEVICE ARRIVAL

166/29/2011 MICROSOFT CONFIDENTIAL Summary Supporting this pattern is straight forward Mass storage devices Class drivers Simple API for device access through the Windows Runtime Create a vastly improved end-user experience by providing: Device Metadata Companion app Include support for AutoPlay

176/29/2011 MICROSOFT CONFIDENTIAL Resources App Capability Declarations App Contracts and Extensions Registering an app for AutoPlay Device Metadata portal Windows.Storage namespace

186/29/2011 MICROSOFT CONFIDENTIAL Resources – Continued Hands-On Lab – Mass Storage Device App Removable Storage Sample Device Enumeration & Activation

Thank you.

© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.