ID2D1RenderTarget::IsSupported method

Indicates whether the render target supports the specified properties.

Syntax

BOOL IsSupported(
  const D2D1_RENDER_TARGET_PROPERTIES & renderTargetProperties
);

Parameters

renderTargetProperties

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 | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header d2d1.h
Library D2d1.lib
DLL D2d1.dll

See Also

ID2D1RenderTarget