Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID2D1RenderTarget::IsSupported method

Indicates whether the render target supports the specified properties.

Syntax


virtual BOOL IsSupported(
  [in]  const D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties
) const = 0;

Parameters

renderTargetProperties [in]

Type: const D2D1_RENDER_TARGET_PROPERTIES*

The render target properties to test.

Return value

Type: BOOL

TRUE if the specified render target properties are supported by this render target; otherwise, FALSE.

Remarks

This method does not evaluate the DPI settings specified by the renderTargetProperties parameter.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1.h

Library

D2d1.lib

DLL

D2d1.dll

See also

ID2D1RenderTarget

 

 

Community Additions

Show:
© 2014 Microsoft