9
Windows 7 Bijoy Singhal Developer Evangelist Microsoft India Under the hood features for developers

Windows 7 Bijoy Singhal Developer Evangelist Microsoft India Under the hood features for developers

Embed Size (px)

Citation preview

Page 1: Windows 7 Bijoy Singhal Developer Evangelist Microsoft India Under the hood features for developers

Windows 7

Bijoy SinghalDeveloper Evangelist

Microsoft India

Under the hood features for developers

Page 2: Windows 7 Bijoy Singhal Developer 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

Page 3: Windows 7 Bijoy Singhal Developer Evangelist Microsoft India Under the hood features for developers

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.

Page 4: Windows 7 Bijoy Singhal Developer Evangelist Microsoft India Under the hood features for developers

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

Page 5: Windows 7 Bijoy Singhal Developer Evangelist Microsoft India Under the hood features for developers

Some Background…

P/Invoke [DllImport]Accessing the Native APIs

Windows Services Doing work in the background

Page 6: Windows 7 Bijoy Singhal Developer Evangelist Microsoft India Under the hood features for developers

DEMO

USB Copy

Page 7: Windows 7 Bijoy Singhal Developer Evangelist Microsoft India Under the hood features for developers

• 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)

Page 8: Windows 7 Bijoy Singhal Developer Evangelist Microsoft India Under the hood features for developers

Virtual Disk APIs

Page 9: Windows 7 Bijoy Singhal Developer Evangelist Microsoft India Under the hood features for developers

© 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.