Windows apps
Collapse the table of content
Expand the table of content
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.

ID2D1DeviceContext5::CreateColorContextFromSimpleColorProfile method

Creates a color context from a simple color profile. It is only valid to use this with the Color Management Effect in 'Best' mode.

Syntax


HRESULT CreateColorContextFromSimpleColorProfile(
  [in]  const D2D1_SIMPLE_COLOR_PROFILE *simpleProfile,
  [out]       ID2D1ColorContext1        **colorContext
);

Parameters

simpleProfile [in]

Type: const D2D1_SIMPLE_COLOR_PROFILE*

The simple color profile to create the color context from.

colorContext [out]

Type: ID2D1ColorContext1**

The created color context.

Return value

Type: HRESULT

This method returns an HRESULT success or error code.

Requirements

Header

D2d1_3.h

DLL

D2d1.dll

See also

ID2D1DeviceContext5

 

 

Show:
© 2017 Microsoft