Download presentation
Presentation is loading. Please wait.
Published byPenelope Randall Modified over 8 years ago
3
What is the Windows Runtime?
4
Devices Sensor s Geolocation Portabl e NFC Communications & Data Contracts XML Web SMS Networking Notifications Local & Cloud Storage Streams Background Transfer User Interface HTML5/CSSXAMLDirectXControls InputAccessibilityPrinting Data Binding TilesSVG Fundamentals Application Services AuthenticationCryptography Globalizatio n Memory ManagementThreading/Timers Media Visual Effects Playbac k PlayToCapture
5
Windows Kernel Services JavaScript (Chakra) C/C++C#, VB Metro style Apps Communication & Data Application Model Devices & Printing Windows Runtime APIs Graphics & Media XAML HTML / CSS HTML JavaScrip t C C++ C# VB Desktop Apps Win32.NET SL Internet Explorer System Services View Model Controller Kernel
7
Windows Metadata & Namespace Language Projection Windows Core Windows Runtime Core XAMLStorage…Network UIPickersMediaControls Metro style app Runtime Broker Language Support (CLR, WinJS, CRT) Web Host (HTML, CSS, JavaScript))
10
Inside a Windows Metro style app
12
Windows Metadata & Namespace Language Projection Windows Core Windows Runtime Core XAMLStorage…Network UIPickersMediaControls Metro style app Runtime Broker Language Support (CLR, WinJS, CRT) Web Host (HTML, CSS, JavaScript))
15
Strings HSTRING Avoids copying in multiple languages Basic Types INT32, UINT64 * Pointers allowed in limited cases Enumerations enum AsyncStatus Flag or non-flag styles Structures struct Rect; Can contain strings, but not interfaces Simple Arrays INT32 [] For very basic collections Interfaces IInspectable Methods are defined in interfaces Generic Interfaces IVector Type-generic interface Runtime Class Windows.Storage. StorageFile Binds interfaces to make a class
17
Windows Metadata & Namespace Language Projection Windows Core Windows Runtime Core XAMLStorage…Network UIPickersMediaControls Metro style app Runtime Broker Language Support (CLR, WinJS, CRT) Web Host (HTML, CSS, JavaScript))
18
Shell32.dll Object Activation Store (Registry)Windows Metadata (Disk)
19
Object Windows Metadata C++ App Projectio n CLR C#/VB App Projectio n HTML App Chakra Projectio n
20
Start App asks to create object Pass Name to RoActivateInstance Find DLL using Catalog Load DLL Call DllGet- ActivationFactory Object created by implementation code IInspectable returned Projection creates wrapper (using metadata) Object bound to wrapper Wrapper returned to App End App Projection WinRT Object Manager WinRT Object
21
Object Windows Metadata v8 App Projection Object Windows Metadata v9 App Projection
23
Windows Metadata & Namespace Language Projection Windows Core Windows Runtime Core XAMLStorage…Network UIPickersMediaControls Metro style app Runtime Broker Language Support (CLR, WinJS, CRT) Web Host (HTML, CSS, JavaScript))
24
CollectionsIVector, IVectorView, IMap Iterators, Collections and events cross-language Delegatesdelegate AsyncActionCompletedHandler Encapsulate the context to call back to an object EventsIApplicationLayout::LayoutChang ed Lists of callback recipients PropertySetinterface IPropertySetCollection of items with varying types Async Interface ReceivePropertiesOperationA way to get a delayed result without blocking ContractsWindows.ApplicationModel. DataTransferManager Connect Apps to Windows Extension Points
25
Array Associative Collection C++ App STL-style Projection CLR C#/VB App IEnumerable (T) style Projection HTML App Chakra JavaScript Projection
27
App Windows UI Object Windows Object App Code Windows Object
29
RuntimeBroker.exe Windows Runtime Object App Projection Proxy
33
Great use of the template= a few tiny tweaks, but it looks very nice. Good luck in rehearsals today! -hannaha
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.