Upload
rodger-mathews
View
212
Download
0
Embed Size (px)
Citation preview
Windows 7
Bijoy SinghalDeveloper Evangelist
Microsoft India
Under the hood features for developers
Targeting the platformDifferent approaches
Windows 7
Managed APIs.NET BCL, Windows API code pack etc
Native APIsPlatform SDK, DirectX etc
Your Managed ApplicationYour Native Application
Mixed ModeApplications
What’s more…
• Trigger Services• User Mode Scheduling• Reliability Access Monitor• Virtual Disk APIs• Powershell• High DPI• Windows Display Driver Model• Direct2D for drawing 2D graphics.• DirectWrite for arranging and rendering text.
What’s more…
• Windows Imaging Component for processing and displaying images.
• Direct3D® 10 for drawing 3D graphics. • Direct3D 11 for drawing 3D graphics, and providing
access to next-generation GPU technologies, such as tessellation, limited support for texture streaming, and general purpose computing.
• DirectX Graphics Infrastructure (DXGI) for managing devices and GPU resources, and providing interoperability between DirectX and GDI.
• BranchCache APIs
Some Background…
P/Invoke [DllImport]Accessing the Native APIs
Windows Services Doing work in the background
DEMO
USB Copy
• ON (trigger)– USB arrival
(SERVICE_TRIGGER_TYPE_DEVICE_INTERFACE_ARRIVAL)– IP Address (SERVICE_TRIGGER_TYPE_IP_ADDRESS_AVAILABILITY)– Custom (SERVICE_TRIGGER_TYPE_CUSTOM)– FireWall (SERVICE_TRIGGER_TYPE_FIREWALL_PORT_EVENT)
• DO (Action)– Start(SERVICE_TRIGGER_ACTION_SERVICE_START)– Stop(SERVICE_TRIGGER_ACTION_SERVICE_STOP)
Virtual Disk APIs
© 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.