Export (0) Print
Expand All

GDI Interop Render Target Example

This topic contains the following sections.

Description

This example shows how to draw GDI content to an Hwnd GDI-compatible render target. It produces the output shown in the following illustration.

Illustration of two pie charts, one of Direct2D content and one of GDI content

Requirements

Minimum supported clientWindows 7 or Windows Vista with Service Pack 2 (SP2) and Platform Update for Windows Vista
Minimum supported serverWindows Server 2008 R2 or Windows Server 2008 with Service Pack 2 (SP2) and Platform Update for Windows Server 2008
Windows SDKWindows Software Development Kit (SDK) for Windows 7

 

View the Example Files

File
GDIInteropRenderTargetExample.vcproj
DeclareDPIAware.manifest
DemoApp.cpp
DemoApp.h

 

 

 

Send comments about this topic to Microsoft

Build date: 9/6/2011

Community Additions

Show:
© 2014 Microsoft